diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-06 16:56:08 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-06 16:58:46 -0800 |
commit | 9a28807dd39adf499d4bfaf94b4356e319e55f67 (patch) | |
tree | caedc9f605afc39a2f7b460d30d841a9da14adfa /qt-mobile | |
parent | cff0a703e89415c4ad8ab3e076815ce5893a421a (diff) | |
download | subsurface-9a28807dd39adf499d4bfaf94b4356e319e55f67.tar.gz |
Make sure that members are initialied
A couple of members could potentially have been used uninitialized - it's
possible that this was the cause for people overwriting data in cloud storage
with empty dive lists.
See #985
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 439490b8d..a786c93c2 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -38,6 +38,8 @@ extern "C" int gitProgressCB(int percent) QMLManager::QMLManager() : m_locationServiceEnabled(false), + m_verboseEnabled(false), + m_loadFromCloud(false), reply(0), mgr(0) { |