be more careful about the things we watch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739951
This commit is contained in:
parent
d6001be92a
commit
fc6b8e4a95
@ -426,8 +426,11 @@ void Containment::appletAnimationComplete(QGraphicsItem *item, Plasma::Phase::An
|
||||
parent = parent->parentItem();
|
||||
}
|
||||
} else if (anim == Phase::Appear) {
|
||||
if (containmentType() == DesktopContainment) {
|
||||
item->installSceneEventFilter(this);
|
||||
if (containmentType() == DesktopContainment &&
|
||||
item->parentItem() == this &&
|
||||
qgraphicsitem_cast<Applet*>(applet)) {
|
||||
item->installSceneEventFilter(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user