projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7fd67
)
Eliminate a warning
author
Jiang Jiang
<jiang.jiang@nokia.com>
Mon, 6 Feb 2012 12:05:21 +0000
(13:05 +0100)
committer
Qt by Nokia
<qt-info@nokia.com>
Thu, 9 Feb 2012 09:46:34 +0000
(10:46 +0100)
Change-Id: I984821d90df272b85d02c6ee0db5a89174d80873
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/gui/text/qtextlayout.cpp
patch
|
blob
|
history
diff --git
a/src/gui/text/qtextlayout.cpp
b/src/gui/text/qtextlayout.cpp
index
ac92c4d
..
84d3fce
100644
(file)
--- a/
src/gui/text/qtextlayout.cpp
+++ b/
src/gui/text/qtextlayout.cpp
@@
-2124,8
+2124,8
@@
static QGlyphRun glyphRunWithInfo(QFontEngine *fontEngine, const QGlyphLayout &g
Q_ASSERT(glyphsArray.size() == positionsArray.size());
qreal fontHeight = font.ascent() + font.descent();
- qreal minY;
- qreal maxY;
+ qreal minY
= 0
;
+ qreal maxY
= 0
;
QVector<quint32> glyphs;
QVector<QPointF> positions;
for (int i=0; i<glyphsArray.size(); ++i) {