projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a14ddf
)
Add a movable type declaration to QGlyphRun.
author
Andrew den Exter
<andrew.den-exter@nokia.com>
Fri, 9 Mar 2012 02:25:31 +0000
(12:25 +1000)
committer
Qt 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
patch
|
blob
|
history
diff --git
a/src/gui/text/qglyphrun.h
b/src/gui/text/qglyphrun.h
index
847b7e4
..
b590775
100644
(file)
--- 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