summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-15 12:06:30 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-01-15 12:06:30 (GMT)
commit9ec5972b3d7b972e74f6d7504d81d062ccdd863d (patch)
treeb97425142dccfdbd7a5476dff6c4b26c73b809e0 /src/gui
parent9095df7d5454be2a0814f59fb3f3270c7783847a (diff)
downloadQt-9ec5972b3d7b972e74f6d7504d81d062ccdd863d.zip
Qt-9ec5972b3d7b972e74f6d7504d81d062ccdd863d.tar.gz
Qt-9ec5972b3d7b972e74f6d7504d81d062ccdd863d.tar.bz2
Update size comment
The pointers are included in the per item overhead.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/text/qstatictext_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qstatictext_p.h b/src/gui/text/qstatictext_p.h
index 8c8cea8..33d2d39 100644
--- a/src/gui/text/qstatictext_p.h
+++ b/src/gui/text/qstatictext_p.h
@@ -68,11 +68,12 @@ public:
// =================
// 14 bytes per glyph
+ // 12 bytes for pointers
int numGlyphs; // 4 bytes per item
int numChars; // 4 bytes per item
QFontEngine *fontEngine; // 4 bytes per item
// ================
- // 12 bytes per item
+ // 24 bytes per item
};
class QStaticText;