[PATCH 1/6] Initialize members in the declared order
Anton Lundin
glance at acc.umu.se
Mon Dec 29 15:25:54 PST 2014
This closes a compiler warning.
Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
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 95d8b79..a356a76 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();
--
2.1.0
More information about the subsurface
mailing list