diff options
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r-- | qt-mobile/qml/main.qml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index 19655e7e5..6e9bb767c 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -13,17 +13,13 @@ MobileComponents.ApplicationWindow { title: qsTr("Subsurface-mobile") property bool fullscreen: true property int oldStatus: -1 - property alias sharedNotificationComponent: detailsWindow.notificationComponent property alias accessingCloud: manager.accessingCloud property QtObject notification: null onAccessingCloudChanged: { if (accessingCloud) { - notification = sharedNotificationComponent.createObject(rootItem); - notification.showNotification("Accessing Subsurface Cloud Storage", 5000); + showPassiveNotification("Accessing Subsurface Cloud Storage", 5000); } else { - if (notification) { - notification.hideNotification(); - } + hidePassiveNotification(); } } |