diff options
author | Kai Uwe Broulik <kde@privat.broulik.de> | 2023-08-15 17:52:54 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-08-16 12:14:06 +0000 |
commit | 281f2551060a64c6c05e8f7f7a28c4def7158ceb (patch) | |
tree | f66e8b66c055aaf7a72679a1cf466c1014471784 | |
parent | 5185a6d97ebad5bf25d96b02b6b359c976328ae5 (diff) |
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.
Change-Id: I9e7a44e09d5806cd64e66ba7a7c96f2d24ec97fc
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit bdec910d775720dc2cd73833bfe9eefc73518dc8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/client/qwaylanddnd.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/qwaylanddnd.cpp b/src/client/qwaylanddnd.cpp index ff89069fc..5ea1e0d33 100644 --- a/src/client/qwaylanddnd.cpp +++ b/src/client/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() |