diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-04-14 12:04:48 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-04-14 12:04:48 (GMT) |
commit | 68037d915cb5f8070c89c70fe741982340def79e (patch) | |
tree | 38d44761b963deca014cb25731b2e1e12f2370ee /src/gui/text | |
parent | 36c82d1a6c6d84b95c65b9df48d38093cadfd94a (diff) | |
download | Qt-68037d915cb5f8070c89c70fe741982340def79e.zip Qt-68037d915cb5f8070c89c70fe741982340def79e.tar.gz Qt-68037d915cb5f8070c89c70fe741982340def79e.tar.bz2 |
Fix gcc compile warning in qstatictext.cpp
Synchronize order of initialization with order of declaration.
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/text')
-rw-r--r-- | src/gui/text/qstatictext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qstatictext.cpp b/src/gui/text/qstatictext.cpp index 6c504a7..06b0d3b 100644 --- a/src/gui/text/qstatictext.cpp +++ b/src/gui/text/qstatictext.cpp @@ -363,7 +363,7 @@ QSizeF QStaticText::size() const } QStaticTextPrivate::QStaticTextPrivate() - : items(0), itemCount(0), glyphPool(0), positionPool(0), textWidth(-1.0), + : textWidth(-1.0), items(0), itemCount(0), glyphPool(0), positionPool(0), needsRelayout(true), useBackendOptimizations(false), textFormat(Qt::AutoText) { } |