From 5ca00097c8ead440f2ae8efb42287b4f47251fbe Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Tue, 15 Aug 2023 17:52:54 +0200 Subject: [PATCH] QWaylandDrag: Call into super class QBasicDrag::drop It's where, among other things, the override mouse cursor is reset. Otherwise the cursor stays a dragging hand indefinitely. Pick-to: 6.6 Change-Id: I9e7a44e09d5806cd64e66ba7a7c96f2d24ec97fc Reviewed-by: David Edmundson --- src/plugins/platforms/wayland/qwaylanddnd.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/plugins/platforms/wayland/qwaylanddnd.cpp b/src/plugins/platforms/wayland/qwaylanddnd.cpp index ff89069fcc1..5ea1e0d3376 100644 --- a/src/plugins/platforms/wayland/qwaylanddnd.cpp +++ b/src/plugins/platforms/wayland/qwaylanddnd.cpp @@ -59,10 +59,7 @@ void QWaylandDrag::move(const QPoint &globalPos, Qt::MouseButtons b, Qt::Keyboar void QWaylandDrag::drop(const QPoint &globalPos, Qt::MouseButtons b, Qt::KeyboardModifiers mods) { - Q_UNUSED(globalPos); - Q_UNUSED(b); - Q_UNUSED(mods); - // Do nothing + QBasicDrag::drop(globalPos, b, mods); } void QWaylandDrag::endDrag()