summaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/common')
-rw-r--r--src/plugins/qnx/common/windowgrabber.cpp4
-rw-r--r--src/plugins/qnx/common/windowgrabber.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/qnx/common/windowgrabber.cpp b/src/plugins/qnx/common/windowgrabber.cpp
index f431f98a2..65037fcce 100644
--- a/src/plugins/qnx/common/windowgrabber.cpp
+++ b/src/plugins/qnx/common/windowgrabber.cpp
@@ -189,11 +189,7 @@ bool WindowGrabber::handleScreenEvent(screen_event_t screen_event)
return false;
}
-#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
bool WindowGrabber::nativeEventFilter(const QByteArray &eventType, void *message, qintptr *)
-#else
-bool WindowGrabber::nativeEventFilter(const QByteArray &eventType, void *message, long *)
-#endif
{
if (eventType == "screen_event_t") {
const screen_event_t event = static_cast<screen_event_t>(message);
diff --git a/src/plugins/qnx/common/windowgrabber.h b/src/plugins/qnx/common/windowgrabber.h
index 5603d9634..c4c1f6a53 100644
--- a/src/plugins/qnx/common/windowgrabber.h
+++ b/src/plugins/qnx/common/windowgrabber.h
@@ -100,11 +100,7 @@ public:
void pause();
void resume();
-#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result) override;
-#else
- bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) override;
-#endif
bool handleScreenEvent(screen_event_t event);