summaryrefslogtreecommitdiffstats
path: root/tests/auto/qapplication/tst_qapplication.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-09-23 11:35:53 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-09-23 11:37:22 (GMT)
commitd74b951c7380f8a210c701152ddafe6481c1a43b (patch)
treef037375accd4f9153a29566794e9d0fc55a0004f /tests/auto/qapplication/tst_qapplication.cpp
parent767e833c6cd83e233adf00acea15a2581e905299 (diff)
downloadQt-d74b951c7380f8a210c701152ddafe6481c1a43b.zip
Qt-d74b951c7380f8a210c701152ddafe6481c1a43b.tar.gz
Qt-d74b951c7380f8a210c701152ddafe6481c1a43b.tar.bz2
Fix new test so it works on QWS
Diffstat (limited to 'tests/auto/qapplication/tst_qapplication.cpp')
-rw-r--r--tests/auto/qapplication/tst_qapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qapplication/tst_qapplication.cpp b/tests/auto/qapplication/tst_qapplication.cpp
index c53fca8..abcacef 100644
--- a/tests/auto/qapplication/tst_qapplication.cpp
+++ b/tests/auto/qapplication/tst_qapplication.cpp
@@ -154,7 +154,7 @@ public:
void tst_QApplication::sendEventsOnProcessEvents()
{
int argc = 0;
- QApplication app(argc, 0);
+ QApplication app(argc, 0, QApplication::GuiServer);
EventSpy spy;
app.installEventFilter(&spy);