aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-06 08:30:39 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-06 21:45:00 -0800
commitb7433b15ff9014112a39b758ad728fd71fd89fd2 (patch)
tree8a2c98b40b42f528a79e1171ca334f0651b94cc2
parentb3994ffd3fc54d3ab628394e7265b21508ac9863 (diff)
downloadsubsurface-b7433b15ff9014112a39b758ad728fd71fd89fd2.tar.gz
mobile/settings: refer to the correct theme object
This was missed when switching object names. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/Settings.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml
index d6522bcdc..e01d83219 100644
--- a/mobile-widgets/qml/Settings.qml
+++ b/mobile-widgets/qml/Settings.qml
@@ -321,23 +321,23 @@ TemplatePage {
spacing: Kirigami.Units.largeSpacing
TemplateButton {
text: qsTr("smaller")
- enabled: ThemeNew.currentScale !== 0.85
+ enabled: subsurfaceTheme.currentScale !== 0.85
onClicked: {
- ThemeNew.currentScale = 0.85
+ subsurfaceTheme.currentScale = 0.85
}
}
TemplateButton {
text: qsTr("regular")
- enabled: ThemeNew.currentScale !== 1.0
+ enabled: subsurfaceTheme.currentScale !== 1.0
onClicked: {
- ThemeNew.currentScale = 1.0
+ subsurfaceTheme.currentScale = 1.0
}
}
TemplateButton {
text: qsTr("larger")
- enabled: ThemeNew.currentScale !== 1.15
+ enabled: subsurfaceTheme.currentScale !== 1.15
onClicked: {
- ThemeNew.currentScale = 1.15
+ subsurfaceTheme.currentScale = 1.15
}
}
}