Add a movable type declaration to QGlyphRun.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Fri, 9 Mar 2012 02:25:31 +0000 (12:25 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 12 Mar 2012 12:14:05 +0000 (13:14 +0100)
Allow it to take advantage of QList optimisations for pointer types.

Change-Id: Iddbb9741efef43604e38fc3eeb08b522c0414e21
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/gui/text/qglyphrun.h

index 847b7e4..b590775 100644 (file)
@@ -124,6 +124,8 @@ private:
     QExplicitlySharedDataPointer<QGlyphRunPrivate> d;
 };
 
+Q_DECLARE_TYPEINFO(QGlyphRun, Q_MOVABLE_TYPE);
+
 QT_END_NAMESPACE
 
 QT_END_HEADER