aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-12-30 00:25:54 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-29 16:22:20 -0800
commit95461830bb15d140193f1228c6da5c12c5f83890 (patch)
tree23701ed16fbd9ee1cd05a79175333ab4f97627a0 /qt-ui/downloadfromdivecomputer.cpp
parent46f4dbf93df6d83eccc9323458d1c475396c124f (diff)
downloadsubsurface-95461830bb15d140193f1228c6da5c12c5f83890.tar.gz
Initialize members in the declared order
This closes a compiler warning. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.cpp')
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index 95d8b79b7..a356a767a 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -46,8 +46,8 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) :
productModel(0),
timer(new QTimer(this)),
dumpWarningShown(false),
- currentState(INITIAL),
- ostcFirmwareCheck(0)
+ ostcFirmwareCheck(0),
+ currentState(INITIAL)
{
ui.setupUi(this);
ui.progressBar->hide();