From 71f4d7b222f5c2e086f4ead8921dc9df61a7d2f2 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Mon, 15 Jul 2024 14:04:40 +0200 Subject: [PATCH] deviceType doesn't exist in Qt5 apparently --- src/frontend/qt_sdl/Screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/Screen.cpp b/src/frontend/qt_sdl/Screen.cpp index 3974ffc7..29e0663a 100644 --- a/src/frontend/qt_sdl/Screen.cpp +++ b/src/frontend/qt_sdl/Screen.cpp @@ -302,7 +302,7 @@ void ScreenPanel::tabletEvent(QTabletEvent* event) void ScreenPanel::touchEvent(QTouchEvent* event) { - if (event->deviceType() == QInputDevice::DeviceType::TouchPad) + if (event->device()->type() == QInputDevice::DeviceType::TouchPad) return; event->accept();