id: positionSource
updateInterval: 15000
- active: !(position.longitudeValid && position.latitudeValid)
+ active: config.getGpsEnabled() && !(position.longitudeValid && position.latitudeValid)
}
ToolBarLayout {
text: ''
anchors {
- bottomMargin: 10
- bottom: parent.bottom
left: logo.right
leftMargin: 10
- top: logo.top
+ top: parent.top
+ topMargin: 10
}
font.pixelSize: 16
}
}
+ Settings{id: settings}
+
Menu {
id: menu
onClicked: mainPage.showNearby()
}
MenuItem {
+ text: 'Settings'
+ onClicked: pageStack.push(settings)
+ }
+ MenuItem {
text: 'About gotoVienna'
onClicked: aboutBox.show()
}