mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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() :
|
QMLManager::QMLManager() :
|
||||||
m_locationServiceEnabled(false),
|
m_locationServiceEnabled(false),
|
||||||
|
m_verboseEnabled(false),
|
||||||
|
m_loadFromCloud(false),
|
||||||
reply(0),
|
reply(0),
|
||||||
mgr(0)
|
mgr(0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue