aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/quick/items/qquickwindow.cpp2
-rw-r--r--tests/auto/quick/qquickmultipointtoucharea/BLACKLIST2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp
index 3236ce3806..b80e62f28c 100644
--- a/src/quick/items/qquickwindow.cpp
+++ b/src/quick/items/qquickwindow.cpp
@@ -3178,7 +3178,7 @@ bool QQuickWindowPrivate::sendFilteredPointerEventImpl(QPointerEvent *event, QQu
if (isMouseEvent(event)) {
auto me = static_cast<QMouseEvent *>(event);
if (receiver->acceptedMouseButtons()) {
- const bool wasAccepted = me->isAccepted();
+ const bool wasAccepted = event->allPointsAccepted();
Q_ASSERT(event->pointCount());
localizePointerEvent(event, receiver);
event->setAccepted(true);
diff --git a/tests/auto/quick/qquickmultipointtoucharea/BLACKLIST b/tests/auto/quick/qquickmultipointtoucharea/BLACKLIST
index 853af4af32..624e5c29c9 100644
--- a/tests/auto/quick/qquickmultipointtoucharea/BLACKLIST
+++ b/tests/auto/quick/qquickmultipointtoucharea/BLACKLIST
@@ -20,5 +20,3 @@ macos # QTBUG-86729
[cancel]
macos # QTBUG-86729
*
-[inMouseArea] # QTBUG-86729
-*