right, handles only on desktops for now

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742411
This commit is contained in:
Aaron J. Seigo 2007-11-27 23:23:38 +00:00
parent 779a913e6d
commit 119dacffe8

View File

@ -389,7 +389,9 @@ Applet* Containment::addApplet(const QString& name, const QVariantList& args, ui
<< "geometry:" << applet->geometry();
if (delayInit) {
applet->installSceneEventFilter(this);
if (type() == DesktopContainment) {
applet->installSceneEventFilter(this);
}
} else {
applet->init();
Phase::self()->animateItem(applet, Phase::Appear);