summaryrefslogtreecommitdiffstats
path: root/basicsuite/camera/CameraControlButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/camera/CameraControlButton.qml')
-rw-r--r--basicsuite/camera/CameraControlButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/basicsuite/camera/CameraControlButton.qml b/basicsuite/camera/CameraControlButton.qml
index 58cc118..e4ca4bc 100644
--- a/basicsuite/camera/CameraControlButton.qml
+++ b/basicsuite/camera/CameraControlButton.qml
@@ -90,7 +90,7 @@ MouseArea {
Connections {
target: root
- onContentScaleChanged: valueTxt.font.pixelSize = Math.round(18 * root.contentScale)
+ function onContentScaleChanged() { valueTxt.font.pixelSize = Math.round(18 * root.contentScale) }
}
onTextChanged: font.pixelSize = Math.round(18 * root.contentScale)