From af4bd16f88f6bedaf5d7387844ab4b8d5b1848cc Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 11 Jan 2020 15:29:45 -0800 Subject: 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 --- mobile-widgets/qmlmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets/qmlmanager.cpp') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 81806ddea..cbd82ade2 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1395,7 +1395,7 @@ void QMLManager::saveChangesCloud(bool forceRemoteSync) git_local_only = glo; } -void QMLManager::undoDelete(int) +void QMLManager::undo() { Command::getUndoStack()->undo(); changesNeedSaving(); -- cgit v1.2.3-70-g09d2