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:
parent
bf77e378a6
commit
a9673b0ac7
@ -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())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user