qmlplugindump: Fix dumping of types
authorKai Koehne <kai.koehne@nokia.com>
Fri, 7 Sep 2012 09:37:19 +0000 (11:37 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 7 Sep 2012 11:57:13 +0000 (13:57 +0200)
Dumping broke with commit 70a2c049.

Change-Id: Ifbae3dbc3e2d255c1e7f8848c579c04d0bf4b48e
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
tools/qmlplugindump/main.cpp

index b2e503c..762b7dd 100644 (file)
@@ -254,7 +254,7 @@ QSet<const QMetaObject *> collectReachableMetaObjects(QQmlEngine *engine, const
                 continue; // we don't handle QJSValue singleton types.
             }
         } else {
-            ty->create();
+            object = ty->create();
         }
 
         inObjectInstantiation.clear();