summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r--qt-mobile/qml/main.qml14
1 files changed, 6 insertions, 8 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 3e2700149..5f516a350 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -61,13 +61,6 @@ MobileComponents.ApplicationWindow {
}
},
- Action {
- text: "Save Changes"
- onTriggered: {
- manager.saveChanges();
- }
- },
-
MobileComponents.ActionGroup {
text: "GPS"
Action {
@@ -146,6 +139,12 @@ MobileComponents.ApplicationWindow {
}
}
+ contextDrawer: MobileComponents.ContextDrawer {
+ id: contextDrawer
+ actions: rootItem.pageStack.currentPage ? rootItem.pageStack.currentPage.contextualActions : null
+ title: "Actions"
+ }
+
QtObject {
id: subsurfaceTheme
property int titlePointSize: Math.round(fontMetrics.font.pointSize * 1.5)
@@ -200,7 +199,6 @@ MobileComponents.ApplicationWindow {
}
Component.onCompleted: {
- print("MobileComponents.Units.gridUnit is: " + MobileComponents.Units.gridUnit);
manager.finishSetup();
}
}