diff options
author | gunnar <gunnar@trolltech.com> | 2009-11-05 18:53:55 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-11-06 13:07:38 (GMT) |
commit | 5864f84b22e7ce6dfc49b50c3f56e7792af1076b (patch) | |
tree | 46ea848cf150657d8c8f54625452a5e15932da16 | |
parent | 6f9ae6917d0b278df72ec74cee4a62b86cd81cc7 (diff) | |
download | Qt-5864f84b22e7ce6dfc49b50c3f56e7792af1076b.zip Qt-5864f84b22e7ce6dfc49b50c3f56e7792af1076b.tar.gz Qt-5864f84b22e7ce6dfc49b50c3f56e7792af1076b.tar.bz2 |
Fixed warning in lance on printf with wrong types
Reviewed-by: TrustMe
-rw-r--r-- | tests/arthur/common/paintcommands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arthur/common/paintcommands.cpp b/tests/arthur/common/paintcommands.cpp index 475f07d..44deb0e 100644 --- a/tests/arthur/common/paintcommands.cpp +++ b/tests/arthur/common/paintcommands.cpp @@ -974,7 +974,7 @@ void PaintCommands::command_drawPixmap(QRegExp re) if (sh == 0) sh = -1; if (m_verboseMode) - printf(" -(lance) drawPixmap('%s' dim=(%d, %d), depth=%d, (%d, %d, %d, %d), (%d, %d, %d, %d)\n", + printf(" -(lance) drawPixmap('%s' dim=(%d, %d), depth=%d, (%f, %f, %f, %f), (%f, %f, %f, %f)\n", qPrintable(re.cap(1)), pm.width(), pm.height(), pm.depth(), tx, ty, tw, th, sx, sy, sw, sh); @@ -1022,7 +1022,7 @@ void PaintCommands::command_drawImage(QRegExp re) if (sh == 0) sh = -1; if (m_verboseMode) - printf(" -(lance) drawImage('%s' dim=(%d, %d), (%d, %d, %d, %d), (%d, %d, %d, %d)\n", + printf(" -(lance) drawImage('%s' dim=(%d, %d), (%f, %f, %f, %f), (%f, %f, %f, %f)\n", qPrintable(re.cap(1)), im.width(), im.height(), tx, ty, tw, th, sx, sy, sw, sh); m_painter->drawImage(QRectF(tx, ty, tw, th), im, QRectF(sx, sy, sw, sh), Qt::OrderedDither | Qt::OrderedAlphaDither); |