don't crash when hovering over the panel plasmoids

I'm fairly confident the assertion that used to be here is bogus because of panels not belonging to the desktop containment
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735913
This commit is contained in:
Jeremy Paul Whiting 2007-11-13 00:29:09 +00:00
parent bf77e378a6
commit a9673b0ac7

View File

@ -516,7 +516,7 @@ bool Containment::sceneEventFilter(QGraphicsItem *watched, QEvent *event)
// Otherwise we're watching something we shouldn't be... // Otherwise we're watching something we shouldn't be...
Q_ASSERT(applet!=0); Q_ASSERT(applet!=0);
Q_ASSERT(d->applets.contains(applet)); if (!d->applets.contains(applet)) return false;
switch (event->type()) switch (event->type())
{ {