diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-01 11:59:17 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-01 12:00:03 (GMT) |
commit | 5f9758295715c088c23f51d294b2b1b0fb361872 (patch) | |
tree | 65d8c9fbf8804bcc681c513616ccf16174b442d7 /tests/auto/qwineventnotifier/tst_qwineventnotifier.cpp | |
parent | 574fdf0b7e61c1c9994739035d9adb51af2629d0 (diff) | |
parent | d43a10d6d9a5f13fc8deac052926720927e09e83 (diff) | |
download | Qt-5f9758295715c088c23f51d294b2b1b0fb361872.zip Qt-5f9758295715c088c23f51d294b2b1b0fb361872.tar.gz Qt-5f9758295715c088c23f51d294b2b1b0fb361872.tar.bz2 |
Merge commit 'qt/master' into graphicssceneindex
Diffstat (limited to 'tests/auto/qwineventnotifier/tst_qwineventnotifier.cpp')
-rw-r--r-- | tests/auto/qwineventnotifier/tst_qwineventnotifier.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/auto/qwineventnotifier/tst_qwineventnotifier.cpp b/tests/auto/qwineventnotifier/tst_qwineventnotifier.cpp index 24d28c5..4b00773 100644 --- a/tests/auto/qwineventnotifier/tst_qwineventnotifier.cpp +++ b/tests/auto/qwineventnotifier/tst_qwineventnotifier.cpp @@ -110,12 +110,9 @@ void tst_QWinEventNotifier::simple_timerSet() void tst_QWinEventNotifier::simple() { - QT_WA({ - simpleHEvent = CreateEventW(0, TRUE, FALSE, 0); - }, { - simpleHEvent = CreateEventA(0, TRUE, FALSE, 0); - }); + simpleHEvent = CreateEvent(0, TRUE, FALSE, 0); QVERIFY(simpleHEvent); + QWinEventNotifier n(simpleHEvent); QObject::connect(&n, SIGNAL(activated(HANDLE)), this, SLOT(simple_activated())); simpleActivated = false; |