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/qpaintbuffer.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/qpaintbuffer.cpp')
-rw-r--r-- | src/gui/painting/qpaintbuffer.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/painting/qpaintbuffer.cpp b/src/gui/painting/qpaintbuffer.cpp index 7870def..51171c5 100644 --- a/src/gui/painting/qpaintbuffer.cpp +++ b/src/gui/painting/qpaintbuffer.cpp @@ -535,16 +535,6 @@ QString QPaintBuffer::commandDescription(int command) const QTextItemInt &ti = (*tiCopy)(); QString text(ti.text()); - QFont font(ti.font()); - font.setUnderline(false); - font.setStrikeOut(false); - font.setOverline(false); - - const QTextItemInt &si = static_cast<const QTextItemInt &>(ti); - qreal justificationWidth = 0; - if (si.justified) - justificationWidth = si.width.toReal(); - debug << "Cmd_DrawTextItem:" << pos << " " << text; break; } case QPaintBufferPrivate::Cmd_SystemStateChanged: { |