summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-27 11:07:59 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-27 11:07:59 -0800
commita35a28ab389c1ef8d680bb736697224b029ce8c9 (patch)
tree003fa2f34ba8de6318b71f3f98ffae3d224561b8 /qt-ui
parent31854f50a46b0c0ff0914653eece10af24e91698 (diff)
downloadsubsurface-a35a28ab389c1ef8d680bb736697224b029ce8c9.tar.gz
Fix warning about initialization ordering
I cannot tell what the potential impact of this might be, but the fix is trivial. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index b7eb520c4..b9eee912a 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -45,7 +45,7 @@ DownloadFromDCWidget *DownloadFromDCWidget::instance()
DownloadFromDCWidget::DownloadFromDCWidget(QWidget* parent, Qt::WindowFlags f) :
QDialog(parent, f), thread(0), timer(new QTimer(this)),
- currentState(INITIAL), dumpWarningShown(false)
+ dumpWarningShown(false), currentState(INITIAL)
{
ui.setupUi(this);
ui.progressBar->hide();