diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-06-13 13:45:06 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-06-14 13:35:33 -0700 |
commit | 01de67a5a6f62f0c7d0b5b381c053e6db16f4e96 (patch) | |
tree | 82ac7b71a083d07d67d64a0453b79be361450483 /mobile-widgets/qmlmanager.h | |
parent | 8b478a969dbd10b3f07affd2f614886d27211c2a (diff) | |
download | subsurface-01de67a5a6f62f0c7d0b5b381c053e6db16f4e96.tar.gz |
mobile: track if we have changes that aren't synced to cloud
If we haven't connected at all to the cloud server we assume that there are
local changes. And whenever we save changes only locally, we also set that
flag.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 03a5864a1..a40a9da3c 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -263,9 +263,11 @@ private: bool checkDuration(const DiveObjectHelper &myDive, struct dive *d, QString duration); bool checkDepth(const DiveObjectHelper &myDive, struct dive *d, QString depth); bool currentGitLocalOnly; + bool localChanges; QString m_progressMessage; bool m_btEnabled; void updateAllGlobalLists(); + void updateHaveLocalChanges(bool status); location_t getGps(QString &gps); QString m_pluggedInDeviceName; |