summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/Settings.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/Settings.qml')
-rw-r--r--mobile-widgets/qml/Settings.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml
index 100ecb9e5..60aeefd2f 100644
--- a/mobile-widgets/qml/Settings.qml
+++ b/mobile-widgets/qml/Settings.qml
@@ -461,7 +461,7 @@ Kirigami.ScrollablePage {
enabled: PrefUnits.unit_system === "metric"
Layout.preferredWidth: gridWidth * 0.25
onClicked: {
- PrefUnits.set_unit_system("imperial")
+ PrefUnits.unit_system = "imperial"
manager.changesNeedSaving()
manager.refreshDiveList()
}
@@ -478,7 +478,7 @@ Kirigami.ScrollablePage {
enabled: PrefUnits.unit_system === "imperial"
Layout.preferredWidth: gridWidth * 0.25
onClicked: {
- PrefUnits.set_unit_system("metric")
+ PrefUnits.unit_system = "metric"
manager.changesNeedSaving()
manager.refreshDiveList()
}
@@ -516,7 +516,7 @@ Kirigami.ScrollablePage {
checked: PrefGeneral.filterFullTextNotes
Layout.preferredWidth: gridWidth * 0.25
onClicked: {
- PrefGeneral.set_filterFullTextNotes(checked)
+ PrefGeneral.filterFullTextNotes = checked
}
}
@@ -532,7 +532,7 @@ Kirigami.ScrollablePage {
checked: PrefGeneral.filterCaseSensitive
Layout.preferredWidth: gridWidth * 0.25
onClicked: {
- PrefGeneral.set_filterCaseSensitive(checked)
+ PrefGeneral.filterCaseSensitive = checked
}
}