summaryrefslogtreecommitdiffstats
path: root/qt-gui.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-16 06:52:06 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-16 14:05:09 -0700
commit0692e2403600090cf92efed375136c3d256f71ac (patch)
treedb1763d065ce355ef4f46d5d9554a7883ddadacc /qt-gui.h
parent6a0e1cd9f6da893a7da4fa82de6ef47bb645f617 (diff)
downloadsubsurface-0692e2403600090cf92efed375136c3d256f71ac.tar.gz
Separate initializing Qt from initializing the UI
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.h')
-rw-r--r--qt-gui.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/qt-gui.h b/qt-gui.h
index c3d48afad..7761eb462 100644
--- a/qt-gui.h
+++ b/qt-gui.h
@@ -1,10 +1,12 @@
#ifndef QT_GUI_H
#define QT_GUI_H
-void init_qt(int *argcp, char ***argvp);
-void init_ui(void);
+#include <QApplication>
-void run_ui(void);
-void exit_ui(void);
+void init_qt_late();
+void init_ui();
+
+void run_ui();
+void exit_ui();
#endif // QT_GUI_H