diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-02-15 16:52:27 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-02-15 16:52:27 (GMT) |
commit | f95d5bde3ba66dd182802addd15dabbfa85611e1 (patch) | |
tree | 4fde196a422d4ce8ea4ce7334dbf312e35c2a866 /src/gui | |
parent | 88fa17f5664e3839ffc04db1315e8d9d07f8b956 (diff) | |
download | Qt-f95d5bde3ba66dd182802addd15dabbfa85611e1.zip Qt-f95d5bde3ba66dd182802addd15dabbfa85611e1.tar.gz Qt-f95d5bde3ba66dd182802addd15dabbfa85611e1.tar.bz2 |
Support Qt::AutoTest in QStaticText::setTextFormat()
The bit field has to be unsigned to support values of 2 (and higher.)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text/qstatictext_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/text/qstatictext_p.h b/src/gui/text/qstatictext_p.h index 95bd286..d2afad6 100644 --- a/src/gui/text/qstatictext_p.h +++ b/src/gui/text/qstatictext_p.h @@ -131,9 +131,9 @@ public: glyph_t *glyphPool; // 4 bytes per text QFixedPoint *positionPool; // 4 bytes per text - char needsClipRect : 1; // 1 byte per text - char useBackendOptimizations : 1; - char textFormat : 2; + unsigned char needsClipRect : 1; // 1 byte per text + unsigned char useBackendOptimizations : 1; + unsigned char textFormat : 2; // ================ // 171 bytes per text |