Skip to content

Commit 086f48e

Browse files
Merge pull request #15564 from mixxxdj/sync-branch-2.6-to-main
Merge changes from `2.6` into `main`
2 parents 3f0ae0a + 6e4abc9 commit 086f48e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,7 @@ jobs:
378378
env:
379379
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
380380
if: runner.os == 'Windows' && env.AZURE_TENANT_ID
381-
# Pinned to commit, to fix a caching issue https://github.com/Azure/trusted-signing-action/issues/62
382-
uses: azure/trusted-signing-action@0d74250c661747df006298d0fb49944c10f16e03
381+
uses: azure/[email protected]
383382
with:
384383
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
385384
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}

src/widget/wwidget.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ bool WWidget::event(QEvent* e) {
4949
static_cast<int>(fonti.pixelSize() * m_scaleFactor));
5050
}
5151
} 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__
5258
switch(e->type()) {
5359
case QEvent::TouchBegin:
5460
case QEvent::TouchUpdate:
@@ -114,6 +120,7 @@ bool WWidget::event(QEvent* e) {
114120
default:
115121
break;
116122
}
123+
#endif
117124
}
118125

119126
return QWidget::event(e);

0 commit comments

Comments
 (0)