diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-01-11 15:29:45 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-10 09:25:57 -0700 |
commit | af4bd16f88f6bedaf5d7387844ab4b8d5b1848cc (patch) | |
tree | 1731238eaee0166e804841e2925e69381bae8553 /mobile-widgets/qmlmanager.h | |
parent | 8e6cc9b8d0dd5d312440b3329ee0dc4c5a133f4e (diff) | |
download | subsurface-af4bd16f88f6bedaf5d7387844ab4b8d5b1848cc.tar.gz |
mobile: replace undoDelete() with generic undo()
Since we are using the existing command infrastructure, this isn't specific to
undoing a delete.
This commit renames the function and removes its use in the UI, the next commit
will then add the generic undo to the UI.
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, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index c0a5c65c4..2548767b4 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -195,7 +195,7 @@ public slots: bool toggleTags(bool toggle); bool toggleCylinders(bool toggle); bool toggleWeights(bool toggle); - void undoDelete(int id); + void undo(); void redo(); int addDive(); void applyGpsData(); |