aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 19:29:56 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 20:50:35 -0800
commit308b69359d0c591d3b98caaaae21de9e672b4a9a (patch)
tree9dd364132ca03a535a21ee684d5e980dda766f36
parentaf2a90b53635c9b80d60dd8324bab42cef4cf93b (diff)
downloadsubsurface-308b69359d0c591d3b98caaaae21de9e672b4a9a.tar.gz
QMLManager: fix order of initialization
Just avoids warnings. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qmlmanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 6851ec079..9d506859d 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -42,10 +42,11 @@ extern "C" int gitProgressCB(int percent)
QMLManager::QMLManager() : m_locationServiceEnabled(false),
m_verboseEnabled(false),
- m_credentialStatus(UNKNOWN),
reply(0),
deletedDive(0),
- deletedTrip(0)
+ deletedTrip(0),
+ m_credentialStatus(UNKNOWN),
+ m_lastDevicePixelRatio(1.0)
{
m_instance = this;
appendTextToLog(getUserAgent());