Added qRegisterMetatype for QVideoSurfaceFormat.
authorJonas Rabbe <jonas.rabbe@nokia.com>
Tue, 8 Nov 2011 03:32:14 +0000 (13:32 +1000)
committerQt 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

index 5266747..98556cd 100644 (file)
 
 QT_BEGIN_NAMESPACE
 
+namespace
+{
+    class QVideoSurfaceFormatPrivateRegisterMetaTypes
+    {
+    public:
+        QVideoSurfaceFormatPrivateRegisterMetaTypes()
+        {
+            qRegisterMetaType<QVideoSurfaceFormat>();
+        }
+    } _registerMetaTypes;
+}
+
+
 class QVideoSurfaceFormatPrivate : public QSharedData
 {
 public: