projects
/
platform
/
upstream
/
qtmultimedia.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbac3a0
)
Added qRegisterMetatype for QVideoSurfaceFormat.
author
Jonas Rabbe
<jonas.rabbe@nokia.com>
Tue, 8 Nov 2011 03:32:14 +0000
(13:32 +1000)
committer
Qt by Nokia
<qt-info@nokia.com>
Tue, 8 Nov 2011 04:24:04 +0000
(
05:24
+0100)
Change-Id: I7dbae1dde2f24db89479dcb23ef6fc5e29377f25
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
src/multimedia/video/qvideosurfaceformat.cpp
patch
|
blob
|
history
diff --git
a/src/multimedia/video/qvideosurfaceformat.cpp
b/src/multimedia/video/qvideosurfaceformat.cpp
index
5266747
..
98556cd
100644
(file)
--- 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: