summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-11-08 14:11:06 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-08 11:17:11 -0800
commit0b0e5d834fbf91ecbf7b8bd59b4db7e69d77b42d (patch)
tree27a923aaec9fc23f9881ceb0f67bbd96e99ba0fa /qt-ui/maintab.cpp
parent082e59ea724f3b44fef0d2a4f21766e981b35194 (diff)
downloadsubsurface-0b0e5d834fbf91ecbf7b8bd59b4db7e69d77b42d.tar.gz
Reorder initializers to be more c++-strict
c++ have some idea about in what order things should be initialized. This makes us comply with that order. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index ab712aeca..2962efc6f 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -35,8 +35,8 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
extraDataModel(new ExtraDataModel(this)),
editMode(NONE),
divePictureModel(DivePictureModel::instance()),
- currentTrip(0),
- copyPaste(false)
+ copyPaste(false),
+ currentTrip(0)
{
ui.setupUi(this);
ui.dateEdit->setDisplayFormat(getDateFormat());