diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-03-09 12:25:31 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-12 13:14:05 +0100 |
commit | 4dfeb18758002f06679dae6584f165192cd04f86 (patch) | |
tree | e3d7a8cbf50b2ae3a88f778de0ca90604481661d /src/gui/text/qglyphrun.h | |
parent | 0a14ddfacb4b6089bdf561b4456e3578da329428 (diff) |
Add a movable type declaration to QGlyphRun.
Allow it to take advantage of QList optimisations for pointer types.
Change-Id: Iddbb9741efef43604e38fc3eeb08b522c0414e21
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/gui/text/qglyphrun.h')
-rw-r--r-- | src/gui/text/qglyphrun.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qglyphrun.h b/src/gui/text/qglyphrun.h index 847b7e4852..b590775d8b 100644 --- a/src/gui/text/qglyphrun.h +++ b/src/gui/text/qglyphrun.h @@ -124,6 +124,8 @@ private: QExplicitlySharedDataPointer<QGlyphRunPrivate> d; }; +Q_DECLARE_TYPEINFO(QGlyphRun, Q_MOVABLE_TYPE); + QT_END_NAMESPACE QT_END_HEADER |