refuse to destroy an applet before it's started; apparently there are some rather inventive people out there
svn path=/trunk/KDE/kdelibs/; revision=984116
This commit is contained in:
parent
6c0bea46a2
commit
27e83c08d8
@ -415,7 +415,7 @@ KConfigGroup Applet::globalConfig() const
|
||||
|
||||
void Applet::destroy()
|
||||
{
|
||||
if (immutability() != Mutable || d->transient) {
|
||||
if (immutability() != Mutable || d->transient || !d->started) {
|
||||
return; //don't double delete
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user