summaryrefslogtreecommitdiffstats
path: root/examples/multimediawidgets/camera/camera.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-02-10 16:15:46 +0100
committerLars Knoll <lars.knoll@qt.io>2021-02-17 08:26:40 +0000
commitf2607d51bba3076e51ff9f67cdbcee793c4f54d0 (patch)
tree947471211fbb2732dcbdbbe5cff3d5fc8505dd66 /examples/multimediawidgets/camera/camera.h
parenta8eb585f239c2e5c0a5fed8a1a279fbd076c8446 (diff)
Get rid of QCamera::CaptureMode
Whether we capture still images or Video should only depend on the outputs we have attached to the camera (QMediaRecoder and QCameraImageCapture). There's no need for a separate enum here. Change-Id: I852f5c752abd1184680ca868cb90e995d6d68b27 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimediawidgets/camera/camera.h')
-rw-r--r--examples/multimediawidgets/camera/camera.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/multimediawidgets/camera/camera.h b/examples/multimediawidgets/camera/camera.h
index 5ccac9165..66cc6eee3 100644
--- a/examples/multimediawidgets/camera/camera.h
+++ b/examples/multimediawidgets/camera/camera.h
@@ -128,6 +128,7 @@ private:
QMediaEncoderSettings m_encoderSettings;
bool m_isCapturingImage = false;
bool m_applicationExiting = false;
+ bool m_doImageCapture = true;
};
#endif