diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-04-27 15:02:35 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-04-28 08:44:45 (GMT) |
commit | ddd253e14318af45e5c56df736028b88257068c4 (patch) | |
tree | 01d49b5d79e195580421ee23fa39259e8ba6fc3a /src/gui/painting/qpainterpath.cpp | |
parent | d9e0c2ea4d64b8fdfb31b28e71373735be38101b (diff) | |
download | Qt-ddd253e14318af45e5c56df736028b88257068c4.zip Qt-ddd253e14318af45e5c56df736028b88257068c4.tar.gz Qt-ddd253e14318af45e5c56df736028b88257068c4.tar.bz2 |
Fixes warnings about unused variables
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/painting/qpainterpath.cpp')
-rw-r--r-- | src/gui/painting/qpainterpath.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qpainterpath.cpp b/src/gui/painting/qpainterpath.cpp index 27aed32..9fbac13 100644 --- a/src/gui/painting/qpainterpath.cpp +++ b/src/gui/painting/qpainterpath.cpp @@ -1126,6 +1126,7 @@ void QPainterPath::addText(const QPointF &point, const QFont &f, const QString & QTextEngine *eng = layout.engine(); layout.beginLayout(); QTextLine line = layout.createLine(); + Q_UNUSED(line); layout.endLayout(); const QScriptLine &sl = eng->lines[0]; if (!sl.length || !eng->layoutData) |