mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
fd3bb4a84d
commit
c5722773d2
1 changed files with 7 additions and 0 deletions
|
@ -106,6 +106,13 @@ MobileComponents.ApplicationWindow {
|
|||
}
|
||||
}
|
||||
]
|
||||
CheckBox {
|
||||
text: "Run location service"
|
||||
checked: manager.locationServiceEnabled
|
||||
onCheckedChanged: {
|
||||
manager.locationServiceEnabled = checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QtObject {
|
||||
|
|
Loading…
Add table
Reference in a new issue