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/multimediawidgets/camera/camera.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples/multimediawidgets/camera/camera.h') diff --git a/examples/multimediawidgets/camera/camera.h b/examples/multimediawidgets/camera/camera.h index a59aad28b..5ccac9165 100644 --- a/examples/multimediawidgets/camera/camera.h +++ b/examples/multimediawidgets/camera/camera.h @@ -81,7 +81,6 @@ private slots: void stop(); void setMuted(bool); - void toggleLock(); void takeImage(); void displayCaptureError(int, QCameraImageCapture::Error, const QString &errorString); @@ -102,7 +101,6 @@ private slots: void updateRecordTime(); void processCapturedImage(int requestId, const QImage &img); - void updateLockStatus(QCamera::LockStatus, QCamera::LockChangeReason); void displayViewfinder(); void displayCapturedImage(); -- cgit v1.2.3