Reduce the size of QTextPrivate.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 20 Feb 2012 05:22:37 +0000 (15:22 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 21 Feb 2012 01:25:14 +0000 (02:25 +0100)
commite060245ebe70f792f551fd8474231400a3fd4728
tree667ec44a9e90ed3afbb7dd743784a7e9e1ee8375
parented20c5e6802a13e4faf6f7b09e0b30d01846ca07
Reduce the size of QTextPrivate.

Remove some unnecessary members, store colors as QRgb values instead
of QColor, and reorder members to minimise alignment padding.

Change-Id: Id3958429008c97a5714734a529250fe881e2161b
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/quick/items/qquicktext.cpp
src/quick/items/qquicktext_p.h
src/quick/items/qquicktext_p_p.h
tests/auto/qtquick2/qquicktext/tst_qquicktext.cpp