From 3472f2035491b9801058ea76a828e80f01b70f80 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 5 Apr 2016 09:52:09 -0700 Subject: QML UI: dynamic page title for the root page Subsurface-mobile is the name of the app, but not a good title for the Dive list / Cloud credential page Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 95af9a973..66583a175 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -9,7 +9,7 @@ import org.subsurfacedivelog.mobile 1.0 Kirigami.ScrollablePage { id: page objectName: "DiveList" - title: "Subsurface-mobile" + title: "Dive list" background: Rectangle { color: Kirigami.Theme.viewBackgroundColor } @@ -220,8 +220,10 @@ Kirigami.ScrollablePage { onVisibleChanged: { if (visible) { page.mainAction = page.saveAction + title = "Cloud credentials" } else { page.mainAction = page.addDiveAction + title = "Dive list" } } -- cgit v1.2.3-70-g09d2