summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <[email protected]>2016-07-10 12:43:07 +0200
committerDennis Nienhüser <[email protected]>2016-07-10 12:43:07 +0200
commitcf1d2adf21a7fb0076e24f5cbe9969dc89e8a7d4 (patch)
tree7295a66a09253584fa16b22d119b9dd35a9e0242
parentccdd0da18def4b2404af2094664dc6d3caf504dd (diff)
Default profile is car
-rw-r--r--src/apps/marble-maps/ProfileSelectorMenu.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/apps/marble-maps/ProfileSelectorMenu.qml b/src/apps/marble-maps/ProfileSelectorMenu.qml
index 668489f..30ed73b 100644
--- a/src/apps/marble-maps/ProfileSelectorMenu.qml
+++ b/src/apps/marble-maps/ProfileSelectorMenu.qml
@@ -19,7 +19,7 @@ import org.kde.edu.marble 0.20
Item {
id: root
- property string selectedProfile: qsTr("Car (fastest)")
+ property string selectedProfile: carProfileButton.profile
property string profileIcon: "qrc:///material/directions-car.svg"
height: rowLayout.height
width: rowLayout.width
@@ -42,7 +42,8 @@ Item {
}
RouteProfileRadioButton {
- checked: settings.value("Routing", "profile") === profile
+ id: carProfileButton
+ checked: settings.value("Routing", "profile", profile) === profile
exclusiveGroup: profileGroup
property string profile: qsTr("Car (fastest)")
imageSource: "qrc:///material/directions-car.svg"