blob: 0c249742472b10d4892fc9bb0b551856c66264c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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();
+}
|