summaryrefslogtreecommitdiff
path: root/recipes/zgscore/files/qtopia17.patch
blob: 7741ca51a50ecae84a7a034263c871426e047149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- zgscore-src/zgscore_main.cpp~qtopia17	2004-04-07 16:22:03.000000000 +0200
+++ zgscore-src/zgscore_main.cpp	2004-04-08 16:34:31.000000000 +0200
@@ -1,5 +1,15 @@
 #include "zgscore.h"
 #include <qpe/qpeapplication.h>
 
-QTOPIA_ADD_APPLICATION("zgs", ZGS)
-QTOPIA_MAIN
+//QTOPIA_ADD_APPLICATION("zgs", ZGS)
+//QTOPIA_MAIN
+
+int main(int argc, char** argv)
+{
+	QPEApplication a( argc, argv );
+	ZGS* zgs = new ZGS();
+	a.showMainWidget( zgs );
+	a.exec();
+}
+
+