aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Boris Barbulovski <bbarbulovski@gmail.com>2014-02-09 20:04:21 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-09 14:42:07 -0800
commitb88958ded55f6d437e74e6c753574128351ad257 (patch)
treef25391496e8ea986b5b1d6caa84bc671119c1414 /qt-ui/mainwindow.cpp
parent359ea7551618d553952156a5a010a835197fbf9f (diff)
downloadsubsurface-b88958ded55f6d437e74e6c753574128351ad257.tar.gz
mainwindow.cpp improvements
* Add missing variable members to the initializer lists. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-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);