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();