diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
| commit | 9352995934adec8059077af241c35ccd1573bd80 (patch) | |
| tree | 60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /qball/patches | |
| parent | ef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff) | |
| parent | 880bca260c4ce91554a49b2475232cf5c0ffd447 (diff) | |
| download | qipackages-fork-master.tar.gz | |
Conflicts:
links/Makefile
Diffstat (limited to 'qball/patches')
| -rw-r--r-- | qball/patches/001-disable-mouse.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/qball/patches/001-disable-mouse.patch b/qball/patches/001-disable-mouse.patch new file mode 100644 index 0000000..6a18d6e --- /dev/null +++ b/qball/patches/001-disable-mouse.patch @@ -0,0 +1,24 @@ +diff -ur qball-1.1.or/QBall/main.cpp qball-1.1/QBall/main.cpp +--- qball-1.1.or/QBall/main.cpp 2010-12-14 21:13:48.387821716 +0300 ++++ qball-1.1/QBall/main.cpp 2010-12-14 21:16:23.749898252 +0300 +@@ -1,6 +1,10 @@ + #include <QtGui/QApplication>
+ #include "mainwindow.h"
+
++#if defined(Q_WS_QWS)
++#include <QtGui/QWSServer>
++#endif
++
+ int main(int argc, char *argv[])
+ {
+ QApplication a(argc, argv);
+@@ -14,6 +18,9 @@ + //w.show();
+ w.showFullScreen();
+ #endif
++#if defined(Q_WS_QWS)
++ QWSServer::setCursorVisible(false);
++#endif
+ //w.init();
+ //Gamestate *gamestate = new PlayingGamestate(&w);
+ Gamestate *gamestate = new OptionsGamestate(&w);
|
