don't remove the applet itself from the scenevent filter when deregistering as a drag handle
the event filter is also used for things like the applet handle
This commit is contained in:
parent
7c3949f204
commit
239b5a5d10
@ -1651,7 +1651,9 @@ void Applet::unregisterAsDragHandle(QGraphicsItem *item)
|
||||
}
|
||||
|
||||
if (d->registeredAsDragHandle.remove(item)) {
|
||||
item->removeSceneEventFilter(this);
|
||||
if (item != this) {
|
||||
item->removeSceneEventFilter(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user