diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-09-07 08:05:14 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-09-07 08:06:45 (GMT) |
commit | 0648f93cce7b721b31b0bb11a91e332b56518cb0 (patch) | |
tree | b973f53406ceba84b1391649bef4ddc5a18fcd66 | |
parent | 4a1c5f08328e369ae285a26738694b33542f5047 (diff) | |
download | Qt-0648f93cce7b721b31b0bb11a91e332b56518cb0.zip Qt-0648f93cce7b721b31b0bb11a91e332b56518cb0.tar.gz Qt-0648f93cce7b721b31b0bb11a91e332b56518cb0.tar.bz2 |
Fixed compilation error for qmdiarea and qmdisubwindow test.
Reviewed-by: Olivier
-rw-r--r-- | src/testlib/qtestmouse.h | 2 |
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()); } } |