From 93c3a18db7142e9d6afeed4fde17196776e0d422 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 5 Jan 2020 17:08:48 +0100 Subject: mobile-widgets/qml: use strongly typed CloudStatus Replace CloudStatus. with backend. as part of making enum sharing between C/C++ and QML more robust. Replace PrefCloudStorage.verification_status with backend.verification_status to use the strongly typed function. Signed-off-by: jan Iversen Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets/qml/DiveList.qml') diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index d353d6995..60d2f5ea1 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -30,7 +30,7 @@ Kirigami.ScrollablePage { supportsRefreshing: true onRefreshingChanged: { if (refreshing) { - if (PrefCloudStorage.cloud_verification_status === CloudStatus.CS_VERIFIED) { + if (Backend.cloud_verification_status === Enums.CS_VERIFIED) { detailsWindow.endEditMode() manager.saveChangesCloud(true) refreshing = false -- cgit v1.2.3-70-g09d2