diff --git a/selfdrive/ui/qt/window.cc b/selfdrive/ui/qt/window.cc index e2e4fc908..76d5a39d4 100644 --- a/selfdrive/ui/qt/window.cc +++ b/selfdrive/ui/qt/window.cc @@ -80,7 +80,7 @@ void MainWindow::closeSettings() { } bool MainWindow::eventFilter(QObject *obj, QEvent *event) { - const QSet evts({QEvent::MouseButtonPress, QEvent::MouseMove, + const static QSet evts({QEvent::MouseButtonPress, QEvent::MouseMove, QEvent::TouchBegin, QEvent::TouchUpdate, QEvent::TouchEnd}); if (evts.contains(event->type())) {