summaryrefslogtreecommitdiffstats
path: root/tests/auto/macnativeevents/tst_macnativeevents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/macnativeevents/tst_macnativeevents.cpp')
-rw-r--r--tests/auto/macnativeevents/tst_macnativeevents.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/auto/macnativeevents/tst_macnativeevents.cpp b/tests/auto/macnativeevents/tst_macnativeevents.cpp
index 0c0934e03f..ea30b0b5c2 100644
--- a/tests/auto/macnativeevents/tst_macnativeevents.cpp
+++ b/tests/auto/macnativeevents/tst_macnativeevents.cpp
@@ -50,8 +50,6 @@
#include "expectedeventlist.h"
#include <Carbon/Carbon.h>
-#ifdef Q_OS_MAC
-
QT_USE_NAMESPACE
class tst_MacNativeEvents : public QObject
@@ -520,12 +518,5 @@ void tst_MacNativeEvents::testModifierCtrlWithDontSwapCtrlAndMeta()
QCoreApplication::setAttribute(Qt::AA_MacDontSwapCtrlAndMeta, false);
}
-#include "tst_macnativeevents.moc"
-
QTEST_MAIN(tst_MacNativeEvents)
-
-#else
-
-QTEST_NOOP_MAIN
-
-#endif
+#include "tst_macnativeevents.moc"