From 3c59ba2b3ce96f578b2d677ecc1fbf7da0b2e27f Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 10 Feb 2021 15:09:49 +0100 Subject: Remove camera locking API QCamera::lock()/unlock() is something that's not needed these days anymore. cameras will automatically focus anyway, there's no real reason to lock the focus (or other properties) to some specific value in 99% of the cases. Plus it wasn't supported on Linux or macOS/iOS anyway. Change-Id: I437d29cbb768da3ece42eea8d753eeafa0c534ae Reviewed-by: Doris Verria Reviewed-by: Lars Knoll --- examples/multimedia/declarative-camera/PhotoCaptureControls.qml | 5 ----- 1 file changed, 5 deletions(-) (limited to 'examples/multimedia/declarative-camera/PhotoCaptureControls.qml') diff --git a/examples/multimedia/declarative-camera/PhotoCaptureControls.qml b/examples/multimedia/declarative-camera/PhotoCaptureControls.qml index 2845d151a..379ca1f66 100644 --- a/examples/multimedia/declarative-camera/PhotoCaptureControls.qml +++ b/examples/multimedia/declarative-camera/PhotoCaptureControls.qml @@ -79,11 +79,6 @@ FocusScope { id: buttonsColumn spacing: 8 - FocusButton { - camera: captureControls.camera - visible: camera.cameraStatus == Camera.ActiveStatus && camera.focus.isFocusModeSupported(Camera.FocusAuto) - } - CameraButton { text: "Capture" visible: camera.imageCapture.ready -- cgit v1.2.3