Easy access to enable/disable location service

Add a checkbox in the global drawer which allows quick access enabling
and disabling the location service. This is something the user wants to
keep an eye on, quickly enable it before a trip, so it makes sense to
give it some prominence. It also helps reminding that the user switched
the device into battery-monster-mode.

Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
Sebastian Kügler 2015-11-30 01:32:55 +01:00
parent fd3bb4a84d
commit c5722773d2

View file

@ -106,6 +106,13 @@ MobileComponents.ApplicationWindow {
}
}
]
CheckBox {
text: "Run location service"
checked: manager.locationServiceEnabled
onCheckedChanged: {
manager.locationServiceEnabled = checked;
}
}
}
QtObject {