mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: initialize copy variables
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
8203fa884e
commit
3f8583de36
1 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue