set the pointer to 0

svn path=/trunk/KDE/kdelibs/; revision=935531
This commit is contained in:
Marco Martin 2009-03-05 14:07:24 +00:00
parent 754b8d34c3
commit fff4b03ec1

View File

@ -693,6 +693,8 @@ void Applet::setBusy(bool busy)
mainLayout->addItem(d->busyWidget);
mainLayout->addStretch();
} else {
//will be deleted by its parent
d->busyWidget = 0;
d->destroyMessageOverlay();
}
}