We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 189a0ff + 4ef19f8 commit d2eecdfCopy full SHA for d2eecdf
src/widget/wwidget.cpp
@@ -49,6 +49,12 @@ bool WWidget::event(QEvent* e) {
49
static_cast<int>(fonti.pixelSize() * m_scaleFactor));
50
}
51
} else if (isEnabled()) {
52
+ // With Qt6 on Windows this touch -> mouse translation is apparently not
53
+ // required anymore, QMouseEvents are received correctly.
54
+ // If enabled we receive both QTouch and QMouse events, see
55
+ // https://github.com/mixxxdj/mixxx/issues/15546
56
+ // TODO Test with other OS, maybe we can drop it entirely.
57
+#ifndef __WINDOWS__
58
switch(e->type()) {
59
case QEvent::TouchBegin:
60
case QEvent::TouchUpdate:
@@ -114,6 +120,7 @@ bool WWidget::event(QEvent* e) {
114
120
default:
115
121
break;
116
122
123
+#endif
117
124
118
125
119
126
return QWidget::event(e);
0 commit comments