diff options
author | Sze Howe Koh <szehowe.koh@gmail.com> | 2013-04-28 15:01:25 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-14 11:27:05 +0200 |
commit | f4348fe3ae91ac47f45495681738505ff6005453 (patch) | |
tree | 63814a85f118ac8a9fb0f56dfd66d23a324c8544 /examples/multimediawidgets | |
parent | 46bf67b7dc4bf105616b240ba3250eed1c391242 (diff) | |
download | qtmultimedia-f4348fe3ae91ac47f45495681738505ff6005453.tar.gz |
Decouple qmediametadata.h from qmultimedia.h
qmultimedia.h is included in more places, but qmediametadata.h is
larger. This patch should reduce unnecessary #include-ing.
Change-Id: I4a3d174bafc555d794bb75087c1f6b79745ae903
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'examples/multimediawidgets')
-rw-r--r-- | examples/multimediawidgets/camera/camera.cpp | 1 | ||||
-rw-r--r-- | examples/multimediawidgets/player/player.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/multimediawidgets/camera/camera.cpp b/examples/multimediawidgets/camera/camera.cpp index 2b7a96f82..bd0644db6 100644 --- a/examples/multimediawidgets/camera/camera.cpp +++ b/examples/multimediawidgets/camera/camera.cpp @@ -46,6 +46,7 @@ #include <QMediaService> #include <QMediaRecorder> #include <QCameraViewfinder> +#include <QMediaMetaData> #include <QMessageBox> #include <QPalette> diff --git a/examples/multimediawidgets/player/player.cpp b/examples/multimediawidgets/player/player.cpp index a1142bef4..377a0ffb9 100644 --- a/examples/multimediawidgets/player/player.cpp +++ b/examples/multimediawidgets/player/player.cpp @@ -47,9 +47,9 @@ #include <QMediaService> #include <QMediaPlaylist> #include <QVideoProbe> +#include <QMediaMetaData> #include <QtWidgets> - Player::Player(QWidget *parent) : QWidget(parent) , videoWidget(0) |