summaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx/camera/bbcameraorientationhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/camera/bbcameraorientationhandler.cpp')
-rw-r--r--src/plugins/qnx/camera/bbcameraorientationhandler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/qnx/camera/bbcameraorientationhandler.cpp b/src/plugins/qnx/camera/bbcameraorientationhandler.cpp
index a4c7b43ba..d600f3db0 100644
--- a/src/plugins/qnx/camera/bbcameraorientationhandler.cpp
+++ b/src/plugins/qnx/camera/bbcameraorientationhandler.cpp
@@ -76,11 +76,7 @@ BbCameraOrientationHandler::~BbCameraOrientationHandler()
QCoreApplication::eventDispatcher()->removeNativeEventFilter(this);
}
-#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
bool BbCameraOrientationHandler::nativeEventFilter(const QByteArray&, void *message, qintptr *)
-#else
-bool BbCameraOrientationHandler::nativeEventFilter(const QByteArray&, void *message, long *)
-#endif
{
bps_event_t* const event = static_cast<bps_event_t*>(message);
if (!event || bps_event_get_domain(event) != orientation_get_domain())