mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: pull undo/redo notification text up
When changes need saving, the notification text was set quite deep in the calltree in "saveChangesLocal()". I don't know why this was put so deep in the call tree. In any case, it prevents asynchronous saving of the data. Therefore, pull it up to chnagesNeedSaving(). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
dd466d2d48
commit
2172e18298
2 changed files with 17 additions and 16 deletions
|
|
@ -179,7 +179,7 @@ public slots:
|
|||
void addDiveToTrip(int id, int tripId);
|
||||
void changesNeedSaving(bool fromUndo = false);
|
||||
void openNoCloudRepo();
|
||||
void saveChangesCloud(bool forceRemoteSync, bool fromUndo = false);
|
||||
void saveChangesCloud(bool forceRemoteSync);
|
||||
void selectDive(int id);
|
||||
void deleteDive(int id);
|
||||
void deleteAccount();
|
||||
|
|
@ -262,7 +262,7 @@ private:
|
|||
void consumeFinishedLoad();
|
||||
void mergeLocalRepo();
|
||||
void openLocalThenRemote(QString url);
|
||||
void saveChangesLocal(bool fromUndo = false);
|
||||
void saveChangesLocal();
|
||||
|
||||
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
|
||||
QString appLogFileName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue