From d85254a160db679c13f90d186a8d06dee4ab22ba Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Thu, 5 Dec 2024 22:58:00 +0100 Subject: [PATCH] Fix build with latest Qt dev Broken by https://codereview.qt-project.org/c/qt/qtbase/+/603678 --- core/remoteviewserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/remoteviewserver.cpp b/core/remoteviewserver.cpp index 955bea2aed..2e7269ab8e 100644 --- a/core/remoteviewserver.cpp +++ b/core/remoteviewserver.cpp @@ -188,7 +188,7 @@ void RemoteViewServer::sendTouchEvent(int type, int touchDeviceType, int deviceC const QEventPoint::States states(touchPointStates); QTouchEvent event(QEvent::Type(type), m_touchDevice.get(), Qt::KeyboardModifiers(modifiers), states, touchPoints); - auto *mut = QMutableTouchEvent::from(&event); + auto *mut = static_cast(&event); mut->setTarget(m_eventReceiver); #else if (!m_touchDevice) {