mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 05:13:23 +00:00
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>
This commit is contained in:
parent
cff0a703e8
commit
9a28807dd3
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue