mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-12-22 09:12:24 +02:00
kinyin: don't show mouse and adapt to Ben's screen
This commit is contained in:
parent
de1521253a
commit
9e435a27dd
24
kinyin/patches/001-ben.patch
Normal file
24
kinyin/patches/001-ben.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -ur kinyin-0.43.orig/qt4/main.cc kinyin-0.43/qt4/main.cc
|
||||
--- kinyin-0.43.orig/qt4/main.cc 2011-02-22 21:21:02.430184590 +0300
|
||||
+++ kinyin-0.43/qt4/main.cc 2011-02-22 21:25:04.990765416 +0300
|
||||
@@ -19,13 +19,19 @@
|
||||
|
||||
#include "edwidget.h"
|
||||
#include <qapplication.h>
|
||||
+#ifdef Q_WS_QWS
|
||||
+ #include <QtGui/QWSServer>
|
||||
+#endif
|
||||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
QApplication a( argc, argv );
|
||||
|
||||
EdWidget w;
|
||||
-// w.setGeometry( 100, 100, 500, 355 );
|
||||
+ w.setGeometry( 0, 0, 320, 240 );
|
||||
+#ifdef Q_WS_QWS
|
||||
+ QWSServer::setCursorVisible(false);
|
||||
+#endif
|
||||
// a.setMainWidget( &w );
|
||||
w.show();
|
||||
return a.exec();
|
Loading…
Reference in New Issue
Block a user