Make QQmlInstantiatorPrivate bools more space efficient
authorAlan Alpert <aalpert@blackberry.com>
Thu, 2 May 2013 00:30:53 +0000 (17:30 -0700)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 9 May 2013 20:14:05 +0000 (22:14 +0200)
Change-Id: Ie7a4951d66763c55148f02c6c88241c8ad363a90
Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
src/qml/types/qqmlinstantiator_p_p.h

index ac25ce8..a7d6905 100644 (file)
@@ -75,11 +75,11 @@ public:
     void _q_createdItem(int, QObject *);
     void _q_modelUpdated(const QQmlChangeSet &, bool);
 
-    bool componentComplete;
-    bool effectiveReset;
-    bool active;
-    bool async;
-    bool ownModel;
+    bool componentComplete:1;
+    bool effectiveReset:1;
+    bool active:1;
+    bool async:1;
+    bool ownModel:1;
     QVariant model;
     QQmlInstanceModel *instanceModel;
     QQmlComponent *delegate;