aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2015-11-07 03:08:05 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 09:03:47 -0800
commit2b70b76133b6fc665ab02060e84f7179826cb6bf (patch)
treea7ff54c696f600af83cdb1b7810a78368f4eea25 /qt-mobile/qml/DiveDetails.qml
parent0e26afbf0a19ab1a3acb6f2beea6cde1e8d741ef (diff)
downloadsubsurface-2b70b76133b6fc665ab02060e84f7179826cb6bf.tar.gz
Rejig navigation
This change streamlines the navigation across the pages to be in line with the stackview organization. The top bar becomes a static element with the title and a button that either opens the preferences or shows the back arrow. This makes it a bit more efficient, since we load the title bar only one, and there are no strange animations in the title. The stackview gets the role of content container, the "chrome" around it is laid out in main.qml. Most of the churn in this patch comes from moving large blocks of code between files with different indentation levels. Signed-off-by: Sebastian Kügler <sebas@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r--qt-mobile/qml/DiveDetails.qml4
1 files changed, 0 insertions, 4 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index afb62104a..87078d1ac 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -38,10 +38,6 @@ Item {
width: parent.width
spacing: 8
- TopBar {
-
- }
-
Button {
text: "Hide Dive Profile"
onClicked: {