Mobile: initialize copy variables
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
8203fa884e
commit
3f8583de36
@ -224,6 +224,18 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
|
||||
// make sure we know if the current cloud repo has been successfully synced
|
||||
syncLoadFromCloud();
|
||||
LOG_STP("qmlmgr sync load cloud");
|
||||
|
||||
memset(&m_copyPasteDive, 0, sizeof(m_copyPasteDive));
|
||||
memset(&what, 0, sizeof(what));
|
||||
|
||||
// Let's set some defaults to be copied so users don't necessarily need
|
||||
// to know how to configure this
|
||||
what.divemaster = true;
|
||||
what.buddy = true;
|
||||
what.suit = true;
|
||||
what.tags = true;
|
||||
what.cylinders = true;
|
||||
what.weights = true;
|
||||
}
|
||||
|
||||
void QMLManager::applicationStateChanged(Qt::ApplicationState state)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user