diff options
Diffstat (limited to 'basicsuite/camera')
-rw-r--r-- | basicsuite/camera/CameraControlButton.qml | 2 | ||||
-rw-r--r-- | basicsuite/camera/Controls.qml | 2 | ||||
-rw-r--r-- | basicsuite/camera/FocusControl.qml | 2 |
3 files changed, 3 insertions, 3 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) diff --git a/basicsuite/camera/Controls.qml b/basicsuite/camera/Controls.qml index 98f6183..6923ded 100644 --- a/basicsuite/camera/Controls.qml +++ b/basicsuite/camera/Controls.qml @@ -186,7 +186,7 @@ Item { Connections { target: camera - onCaptureModeChanged: { + function onCaptureModeChanged() { if (camera.captureMode === Camera.CaptureStillImage) { resControl.model = cameraUtils.supportedCaptureResolutions; } else { diff --git a/basicsuite/camera/FocusControl.qml b/basicsuite/camera/FocusControl.qml index 68c4642..9fa99ef 100644 --- a/basicsuite/camera/FocusControl.qml +++ b/basicsuite/camera/FocusControl.qml @@ -85,7 +85,7 @@ MouseArea { Connections { target: viewfinder - onContentRectChanged: { + function onContentRectChanged() { mappedRect = viewfinder.mapNormalizedRectToItem(area); } } |