diff options
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
| -rw-r--r-- | mobile-widgets/qml/DiveList.qml | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 52861443a..4fb38450d 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -42,8 +42,7 @@ Kirigami.ScrollablePage { } } } -// this will be: onVisibleChanged: { - function simulateVisibleChanged() { + onVisibleChanged: { console.log("---> DiveList changed visibility to " + visible) if (visible) { page.actions.main = page.downloadFromDCAction @@ -402,27 +401,6 @@ Kirigami.ScrollablePage { } } - StartPage { - id: startPage - anchors.fill: parent - opacity: (credentialStatus === CloudStatus.CS_NOCLOUD || - credentialStatus === CloudStatus.CS_VERIFIED) ? 0 : 1 - visible: opacity > 0 - Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } } - onVisibleChanged: { - console.log("---> Startpage changed visibility to " + visible) - if (visible) { - page.actions.main = null - page.actions.right = null - page.actions.left = null - page.title = qsTr("Cloud credentials") - } else { - // This is to be removed when StartPage becomes a proper page - page.simulateVisibleChanged() - } - } - } - Controls.Label { anchors.fill: parent horizontalAlignment: Text.AlignHCenter |