since this hack wasn't helping, try without it
svn path=/trunk/KDE/kdelibs/; revision=1027321
This commit is contained in:
parent
ba3b1b753b
commit
c786e17ba1
@ -514,10 +514,10 @@ void AppletPrivate::cleanUpAndDelete()
|
||||
|
||||
resetConfigurationObject();
|
||||
|
||||
QGraphicsScene *s = q->scene();
|
||||
q->scene()->removeItem(q);
|
||||
/*a hack to try and avoid crashes. doesn't seem to work.
|
||||
QGraphicsScene *s = q->scene();
|
||||
kDebug();
|
||||
//a hack to try and avoid crashes. doesn't seem to work.
|
||||
QGraphicsItem *f = s->focusItem();
|
||||
if (f) {
|
||||
QGraphicsItem *top = f->topLevelItem();
|
||||
@ -527,6 +527,7 @@ void AppletPrivate::cleanUpAndDelete()
|
||||
s->setFocusItem(0);
|
||||
}
|
||||
}
|
||||
*/
|
||||
q->deleteLater();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user