From 6e7b0e99b46d7c30dc1474382d8623c27582c7e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pekka=20Geh=C3=B6r?= Date: Mon, 13 Sep 2021 09:08:45 +0300 Subject: Android: Fix the capture button issue The capture button does not works. Fixes: QTBUG-96102 Change-Id: Iac7a774cd81113e55550598423e9c19bc775c9b3 Reviewed-by: Lars Knoll (cherry picked from commit 7ec77dd61de2e84280a5f104f2c96353372633f7) Reviewed-by: Qt Cherry-pick Bot --- examples/multimedia/declarative-camera/PhotoCaptureControls.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/multimedia/declarative-camera/PhotoCaptureControls.qml b/examples/multimedia/declarative-camera/PhotoCaptureControls.qml index 7777df585..c5ac09415 100644 --- a/examples/multimedia/declarative-camera/PhotoCaptureControls.qml +++ b/examples/multimedia/declarative-camera/PhotoCaptureControls.qml @@ -82,7 +82,7 @@ FocusScope { CameraButton { text: "Capture" visible: captureSession.imageCapture.readyForCapture - onClicked: captureSession.imageCapture.capture() + onClicked: captureSession.imageCapture.captureToFile("") } CameraPropertyButton { -- cgit v1.2.3