summaryrefslogtreecommitdiff
path: root/examples/multimediawidgets
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2013-04-28 15:01:25 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-14 11:27:05 +0200
commitf4348fe3ae91ac47f45495681738505ff6005453 (patch)
tree63814a85f118ac8a9fb0f56dfd66d23a324c8544 /examples/multimediawidgets
parent46bf67b7dc4bf105616b240ba3250eed1c391242 (diff)
downloadqtmultimedia-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.cpp1
-rw-r--r--examples/multimediawidgets/player/player.cpp2
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)