aboutsummaryrefslogtreecommitdiff
path: root/confui/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'confui/main.cpp')
-rw-r--r--confui/main.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/confui/main.cpp b/confui/main.cpp
index 6c3ab56..52c54d8 100644
--- a/confui/main.cpp
+++ b/confui/main.cpp
@@ -1,10 +1,9 @@
+#include "main.h"
#include "mainwindow.h"
-#include <QApplication>
-
int main(int argc, char *argv[]) {
- QApplication a(argc, argv);
+ g_cd_app = new QApplication(argc, argv);
CDMainWindow w;
w.show();
- return a.exec();
+ return g_cd_app->exec();
}