summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-09-07 08:05:14 (GMT)
committerGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-09-07 08:06:45 (GMT)
commit0648f93cce7b721b31b0bb11a91e332b56518cb0 (patch)
treeb973f53406ceba84b1391649bef4ddc5a18fcd66 /src/testlib
parent4a1c5f08328e369ae285a26738694b33542f5047 (diff)
downloadQt-0648f93cce7b721b31b0bb11a91e332b56518cb0.zip
Qt-0648f93cce7b721b31b0bb11a91e332b56518cb0.tar.gz
Qt-0648f93cce7b721b31b0bb11a91e332b56518cb0.tar.bz2
Fixed compilation error for qmdiarea and qmdisubwindow test.
Reviewed-by: Olivier
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qtestmouse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestmouse.h b/src/testlib/qtestmouse.h
index 8b06a29..1ab7401 100644
--- a/src/testlib/qtestmouse.h
+++ b/src/testlib/qtestmouse.h
@@ -117,7 +117,7 @@ namespace QTest
static const char *mouseActionNames[] =
{ "MousePress", "MouseRelease", "MouseClick", "MouseDClick", "MouseMove" };
QString warning = QString::fromLatin1("Mouse event \"%1\" not accepted by receiving widget");
- QTest::qWarn(warning.arg(mouseActionNames[static_cast<int>(action)]).toAscii().data());
+ QTest::qWarn(warning.arg(QString::fromLatin1(mouseActionNames[static_cast<int>(action)])).toAscii().data());
}
}