From 95461830bb15d140193f1228c6da5c12c5f83890 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Tue, 30 Dec 2014 00:25:54 +0100 Subject: [PATCH] Initialize members in the declared order This closes a compiler warning. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/downloadfromdivecomputer.cpp | 4 ++-- 1 file 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();