diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-12-23 11:14:06 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-01-21 19:56:14 +0000 |
commit | f83b3dd1ac60c04229d53b72a9d2c15f8cdd5abc (patch) | |
tree | 4bebf265422784c1b172f2d6b66d9910c35a194a /src/multimedia/controls/qcameracapturebufferformatcontrol.h | |
parent | ca1584428b438cb65d5b2aaaca624e9e17578ebd (diff) |
Get rid of QMediaControl
The class was serving no purpose that QObject doesn't offer,
so remove that layer and use QObject as the base class for
those controls.
Change-Id: Icd434fabe88cbdba5fa54eafe6ba97ac08be61f3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'src/multimedia/controls/qcameracapturebufferformatcontrol.h')
-rw-r--r-- | src/multimedia/controls/qcameracapturebufferformatcontrol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/controls/qcameracapturebufferformatcontrol.h b/src/multimedia/controls/qcameracapturebufferformatcontrol.h index 1c8f44243..b1a4561e8 100644 --- a/src/multimedia/controls/qcameracapturebufferformatcontrol.h +++ b/src/multimedia/controls/qcameracapturebufferformatcontrol.h @@ -40,7 +40,7 @@ #ifndef QCAMERACAPTUREBUFFERFORMATCONTROL_H #define QCAMERACAPTUREBUFFERFORMATCONTROL_H -#include <QtMultimedia/qmediacontrol.h> +#include <QtMultimedia/qmediaservice.h> #include <QtMultimedia/qcameraimagecapture.h> QT_BEGIN_NAMESPACE @@ -48,7 +48,7 @@ QT_BEGIN_NAMESPACE // Required for QDoc workaround class QString; -class Q_MULTIMEDIA_EXPORT QCameraCaptureBufferFormatControl : public QMediaControl +class Q_MULTIMEDIA_EXPORT QCameraCaptureBufferFormatControl : public QObject { Q_OBJECT public: |