summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-18 14:32:55 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-18 14:45:24 (GMT)
commit64158ff163a53ff97d8ae211b0bddaae346f0f7c (patch)
treed8a66751f153596733935e2bf06d6495d481c177 /src/gui/painting
parent756247373da4ea4142862df4156249230c013161 (diff)
downloadQt-64158ff163a53ff97d8ae211b0bddaae346f0f7c.zip
Qt-64158ff163a53ff97d8ae211b0bddaae346f0f7c.tar.gz
Qt-64158ff163a53ff97d8ae211b0bddaae346f0f7c.tar.bz2
Fix warnings on gcc
Gcc warns if declaration and initialization order are different. Reviewed-by: Samuel
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qtextureglyphcache_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/painting/qtextureglyphcache_p.h b/src/gui/painting/qtextureglyphcache_p.h
index b8717b1..803e71b 100644
--- a/src/gui/painting/qtextureglyphcache_p.h
+++ b/src/gui/painting/qtextureglyphcache_p.h
@@ -76,8 +76,9 @@ class Q_GUI_EXPORT QTextureGlyphCache : public QFontEngineGlyphCache
{
public:
QTextureGlyphCache(QFontEngineGlyphCache::Type type, const QTransform &matrix)
- : QFontEngineGlyphCache(matrix, type), m_w(0), m_h(0), m_cx(0), m_cy(0),
- m_current_fontengine(0) { }
+ : QFontEngineGlyphCache(matrix, type), m_current_fontengine(0),
+ m_w(0), m_h(0), m_cx(0), m_cy(0)
+ { }
virtual ~QTextureGlyphCache() { }