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
9ef2c42b42
commit
d65132f92f
@ -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