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>
This commit is contained in:
Boris Barbulovski 2014-02-09 20:04:21 +01:00 committed by Dirk Hohndel
parent 359ea75516
commit b88958ded5

View file

@ -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);