mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-18 02:39:42 +02:00
25 lines
633 B
Diff
25 lines
633 B
Diff
|
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();
|