summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestmouse.h
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-09-05 21:36:19 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-09-05 21:37:37 +1000
commita1fa077083d32f48751d08de80babe63b4f8df39 (patch)
treec9aad0a5f91c7c1850217ecdce47545748676ba4 /src/testlib/qtestmouse.h
parentb504a21a7d62b24ac5f16cb3f1a88479da1499d5 (diff)
Fixed compile of code which defines QT_NO_CAST_FROM_ASCII and includes
qtestmouse.h.
Diffstat (limited to 'src/testlib/qtestmouse.h')
-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 665b7840d8..bfa5c25f5c 100644
--- a/src/testlib/qtestmouse.h
+++ b/src/testlib/qtestmouse.h
@@ -115,7 +115,7 @@ namespace QTest
}
QSpontaneKeyEvent::setSpontaneous(&me);
if (!qApp->notify(widget, &me)) {
- QString warning("Mouse event \"%1\" not accepted by receiving widget");
+ QString warning = QString::fromLatin1("Mouse event \"%1\" not accepted by receiving widget");
QTest::qWarn(warning.arg(mouseActionNames[static_cast<int>(action)]).toAscii().data());
}