summaryrefslogtreecommitdiffstats
path: root/examples/multimediawidgets/camera/camera.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-06-11 12:49:26 +0200
committerLars Knoll <lars.knoll@qt.io>2021-06-16 10:03:03 +0200
commit9c309ede2feb598908b1476062b79d0d23759bf3 (patch)
tree29e68c3ce8698272206b4fdda78d6b3641da2a8e /examples/multimediawidgets/camera/camera.h
parentfde5d6f7cce6118cac4ce7b92cd056225737917f (diff)
Get rid of QMediaEncoderSettings
As per API review, fold this class into QMediaRecorder as that's the only place where it is being used. This removes one level of indirection from the API and also makes it possible to use from QML. Change-Id: Id9157df04512382cce28e89b082433ec67d36b28 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/multimediawidgets/camera/camera.h')
-rw-r--r--examples/multimediawidgets/camera/camera.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/multimediawidgets/camera/camera.h b/examples/multimediawidgets/camera/camera.h
index 6a55f42b3..2b19dae86 100644
--- a/examples/multimediawidgets/camera/camera.h
+++ b/examples/multimediawidgets/camera/camera.h
@@ -138,7 +138,6 @@ private:
QCameraImageCapture *m_imageCapture;
QScopedPointer<QMediaRecorder> m_mediaEncoder;
- QMediaEncoderSettings m_encoderSettings;
bool m_isCapturingImage = false;
bool m_applicationExiting = false;
bool m_doImageCapture = true;