summaryrefslogtreecommitdiff
path: root/packages/zddice/zddice-1.0.0/qtopia17.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zddice/zddice-1.0.0/qtopia17.patch')
-rw-r--r--packages/zddice/zddice-1.0.0/qtopia17.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/zddice/zddice-1.0.0/qtopia17.patch b/packages/zddice/zddice-1.0.0/qtopia17.patch
index e69de29bb2..7aea5804f5 100644
--- a/packages/zddice/zddice-1.0.0/qtopia17.patch
+++ b/packages/zddice/zddice-1.0.0/qtopia17.patch
@@ -0,0 +1,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();
++}
++
++