diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 7a031a73a..9db2f991c 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -190,9 +190,9 @@ public slots: void removeDiveFromTrip(int id); void addTripForDive(int id); void addDiveToTrip(int id, int tripId); - void changesNeedSaving(); + void changesNeedSaving(bool fromUndo = false); void openNoCloudRepo(); - void saveChangesCloud(bool forceRemoteSync); + void saveChangesCloud(bool forceRemoteSync, bool fromUndo = false); void selectDive(int id); void deleteDive(int id); void toggleDiveInvalid(int id); @@ -283,7 +283,7 @@ private: void consumeFinishedLoad(); void mergeLocalRepo(); void openLocalThenRemote(QString url); - void saveChangesLocal(); + void saveChangesLocal(bool fromUndo = false); #if defined(Q_OS_ANDROID) || defined(Q_OS_IOS) QString appLogFileName; |