Hopefully fix bug 165051. It seems to be quite elusive, so I can't check whether it will for certain.
Clears the focus on the Corona before ~QGraphicsView runs. See comment for more info. BUG: 165051 svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851511
This commit is contained in:
parent
1a321f0df1
commit
7d47005103
@ -192,6 +192,11 @@ Corona::~Corona()
|
||||
// also checks kiosk and parent containers
|
||||
cg.writeEntry("immutability", (int)d->immutability);
|
||||
delete d;
|
||||
|
||||
// FIXME: Same fix as in Plasma::View - make sure that when the focused widget is
|
||||
// destroyed we don't try to transfer it to something that's already been
|
||||
// deleted.
|
||||
clearFocus();
|
||||
}
|
||||
|
||||
void Corona::setAppletMimeType(const QString& type)
|
||||
|
Loading…
Reference in New Issue
Block a user