summaryrefslogtreecommitdiff
path: root/packages/zddice/zddice-1.0.0/qtopia17.patch
blob: 7aea5804f5f6af9854ac68fdbebde933e372dae0 (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
#

--- zddice-src/zddice_main.cpp~qtopia17	2004-04-15 04:44:10.000000000 +0200
+++ zddice-src/zddice_main.cpp	2004-04-18 12:54:08.000000000 +0200
@@ -1,5 +1,15 @@
 #include "zddice.h"
 #include <qpe/qpeapplication.h>
 
-QTOPIA_ADD_APPLICATION("zddice", zddice)
-QTOPIA_MAIN
+//QTOPIA_ADD_APPLICATION("zddice", zddice)
+//QTOPIA_MAIN
+
+int main(int argc, char** argv)
+{
+       QPEApplication a( argc, argv );
+       zddice* w = new zddice();
+       a.showMainWidget( w );  
+       a.exec();
+}
+
+