aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-12 19:54:30 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-18 13:26:29 +0900
commit1dd7d9df3aab0deaabfcb14299efcf32cb29bdc8 (patch)
tree80139ad6f24d999df62289478a314cb2b75fed58
parent8c0023e15104ccb0a325df42c53878b2f54af563 (diff)
downloadsubsurface-1dd7d9df3aab0deaabfcb14299efcf32cb29bdc8.tar.gz
mobile-widget: correct set of default_cylinder
set_default_cylinder is accepted, because it is defined in Qt Meta system, however the call is never carried out, because the Q_INVOKE macro is missing Change PrefGeneral.set_default_cylinder(...) which is a function call to PrefGeneral.default_cylinder = ... which is a builtin assignment Signed-off-by: Jan Iversen <jani@apache.org>
-rw-r--r--mobile-widgets/qml/Settings.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml
index 6b257a444..ec4cec40f 100644
--- a/mobile-widgets/qml/Settings.qml
+++ b/mobile-widgets/qml/Settings.qml
@@ -387,7 +387,7 @@ Kirigami.ScrollablePage {
inputMethodHints: Qt.ImhNoPredictiveText
Layout.fillWidth: true
onActivated: {
- PrefGeneral.set_default_cylinder(defaultCylinderBox.currentText)
+ PrefGeneral.default_cylinder = defaultCylinderBox.currentText
}
}
}