From 9f7e509f9afe57f81adda9649dc4f57a27faf5c7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 6 Apr 2016 11:47:12 -0700 Subject: QML UI: break the sync into explicit save local and save cloud This makes the code much cleaner and easier to understand and should allow us to then switch back to doing at least the local save right after we make any changes to the data. This commit also tries to make sure that the accessingCloud status stays correct and consistent throughout all the various success and error paths. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets/qml/main.qml') diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 34d99376d..4cc03849b 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -138,7 +138,7 @@ Kirigami.ApplicationWindow { onTriggered: { globalDrawer.close() detailsWindow.endEditMode() - manager.saveChanges(); + manager.saveChangesCloud(); globalDrawer.close() } } -- cgit v1.2.3-70-g09d2