blob: 0df47f6295f2112b09e0f9217f8b189d92f1af06 (
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("myapp", ZBEDic)
-QTOPIA_MAIN
+//QTOPIA_ADD_APPLICATION("myapp", ZBEDic)
+//QTOPIA_MAIN
+
+int main(int argc, char** argv)
+{
+ QPEApplication a( argc, argv );
+ ZBEDic* myapp = new ZBEDic();
+ a.showMainWidget( myapp );
+ a.exec();
+}
|