diff options
author | miniak <milan.burda@gmail.com> | 2009-07-01 11:50:29 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius@trolltech.com> | 2009-07-01 11:51:25 +0200 |
commit | d2f4a4b4f232b1c42cd89ac0b6bccb77dfe8e0db (patch) | |
tree | 946e359589d671f050c6a6a2f7f00b01e0ca6416 /tests/auto/qwineventnotifier | |
parent | c447ce31632e25fdd40404cc96b6980aa0adcef8 (diff) |
tests: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT support
Merge-request: 604
Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
Diffstat (limited to 'tests/auto/qwineventnotifier')
-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 24d28c5eeb..4b0077322b 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; |