summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorgunnar <gunnar@trolltech.com>2009-11-05 19:53:55 +0100
committergunnar <gunnar@trolltech.com>2009-11-05 19:59:39 +0100
commitc4f5a858edbe764f1e899b6c5201a61982e13061 (patch)
treefa6dfd5a4cd73c7804fd1707bd38a63b23659174 /tests
parentf7b457e3d72b412b1d5ce080a40f290ab9bf46ab (diff)
Fixed warning in lance on printf with wrong types
Reviewed-by: TrustMe
Diffstat (limited to 'tests')
-rw-r--r--tests/arthur/common/paintcommands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arthur/common/paintcommands.cpp b/tests/arthur/common/paintcommands.cpp
index 475f07d9cf..44deb0e624 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);