Skip to content

Commit

Permalink
Fix build with latest Qt dev
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlSchwan committed Dec 5, 2024
1 parent 8862caf commit d85254a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/remoteviewserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<QMutableTouchEvent *>(&event);
mut->setTarget(m_eventReceiver);
#else
if (!m_touchDevice) {
Expand Down

0 comments on commit d85254a

Please sign in to comment.