mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
8b478a969d
commit
01de67a5a6
2 changed files with 17 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue