diff options
author | Jonas Rabbe <jonas.rabbe@nokia.com> | 2011-11-08 13:32:14 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-08 05:24:04 +0100 |
commit | 0a95ccb8f41ffa129daf3eb307f2d3fc27a194d6 (patch) | |
tree | 01159103b0cd91f8eaecfe03219309908606835e /src/multimedia/video | |
parent | fbac3a06473535c1559d9a7ff7695e3e28f3abb2 (diff) |
Added qRegisterMetatype for QVideoSurfaceFormat.
Change-Id: I7dbae1dde2f24db89479dcb23ef6fc5e29377f25
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
Diffstat (limited to 'src/multimedia/video')
-rw-r--r-- | src/multimedia/video/qvideosurfaceformat.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/multimedia/video/qvideosurfaceformat.cpp b/src/multimedia/video/qvideosurfaceformat.cpp index 526674755..98556cd8b 100644 --- a/src/multimedia/video/qvideosurfaceformat.cpp +++ b/src/multimedia/video/qvideosurfaceformat.cpp @@ -49,6 +49,19 @@ QT_BEGIN_NAMESPACE +namespace +{ + class QVideoSurfaceFormatPrivateRegisterMetaTypes + { + public: + QVideoSurfaceFormatPrivateRegisterMetaTypes() + { + qRegisterMetaType<QVideoSurfaceFormat>(); + } + } _registerMetaTypes; +} + + class QVideoSurfaceFormatPrivate : public QSharedData { public: |