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 <davidedmundson@kde.org>
This commit is contained in:
parent
9c1cd44144
commit
5ca00097c8
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user