summaryrefslogtreecommitdiff
path: root/packages/zbedic/zbedic-0.9.6/qtopia17.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zbedic/zbedic-0.9.6/qtopia17.patch')
-rw-r--r--packages/zbedic/zbedic-0.9.6/qtopia17.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/zbedic/zbedic-0.9.6/qtopia17.patch b/packages/zbedic/zbedic-0.9.6/qtopia17.patch
index e69de29bb2..0c24974247 100644
--- a/packages/zbedic/zbedic-0.9.6/qtopia17.patch
+++ b/packages/zbedic/zbedic-0.9.6/qtopia17.patch
@@ -0,0 +1,23 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- src/main.cpp~compilefix
++++ src/main.cpp
+@@ -25,5 +25,13 @@
+ #include "zbedic.h"
+ #include <qtopia/qpeapplication.h>
+
+-QTOPIA_ADD_APPLICATION("zbedic", ZBEDic)
+-QTOPIA_MAIN
++//QTOPIA_ADD_APPLICATION("zbedic", ZBEDic)
++//QTOPIA_MAIN
++
++int main(int argc, char** argv)
++{
++ QPEApplication a( argc, argv );
++ ZBEDic* myapp = new ZBEDic();
++ a.showMainWidget( myapp );
++ a.exec();
++}