summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-09-07 10:05:14 +0200
committerGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-09-07 10:06:45 +0200
commit0648f93cce7b721b31b0bb11a91e332b56518cb0 (patch)
treeb973f53406ceba84b1391649bef4ddc5a18fcd66
parent4a1c5f08328e369ae285a26738694b33542f5047 (diff)
Fixed compilation error for qmdiarea and qmdisubwindow test.
Reviewed-by: Olivier
-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 8b06a29390..1ab740150e 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());
}
}