aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-10-12 14:57:43 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-12 08:22:26 -0700
commit4263d1c3f57bd8080f821c564018d0a6f0b5cb3c (patch)
tree5de3d8684658630daf321eec17455098c99420c9 /mobile-widgets/qml/DiveList.qml
parent5d1c30acbf9dc220728fa9c04603d45c75f3f3b2 (diff)
downloadsubsurface-4263d1c3f57bd8080f821c564018d0a6f0b5cb3c.tar.gz
QML, cleanup: remove stackView
There is no reason (any more?) to have a property defined that basically renames the global pageStack into a local pageView. Just cleanup. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index b353b135c..ac9f6f391 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -4,7 +4,7 @@ import QtQuick.Controls 2.2 as Controls
import QtQuick.Layouts 1.2
import QtQuick.Window 2.2
import QtQuick.Dialogs 1.2
-import org.kde.kirigami 2.4 as Kirigami
+import org.kde.kirigami 2.5 as Kirigami
import org.subsurfacedivelog.mobile 1.0
Kirigami.ScrollablePage {
@@ -113,7 +113,7 @@ Kirigami.ScrollablePage {
if (detailsWindow.state === "view") {
diveListView.currentIndex = index
detailsWindow.showDiveIndex(index);
- stackView.push(detailsWindow);
+ pageStack.push(detailsWindow);
}
}
@@ -387,7 +387,7 @@ Kirigami.ScrollablePage {
function showDownloadPage(vendor, product, connection) {
downloadFromDc.dcImportModel.clearTable()
- stackView.push(downloadFromDc)
+ pageStack.push(downloadFromDc)
if (vendor !== undefined && product !== undefined && connection !== undefined) {
/* set up the correct values on the download page */
if (vendor !== -1)