aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 537da82be..d93de4d05 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -43,7 +43,11 @@ MainWindow* mainWindow()
return instance;
}
-MainWindow::MainWindow() : helpView(0)
+MainWindow::MainWindow() : QMainWindow(),
+ actionNextDive(0),
+ actionPreviousDive(0),
+ helpView(0),
+ state(VIEWALL)
{
instance = this;
ui.setupUi(this);