destroy the message, if any, when we fail

svn path=/trunk/KDE/kdelibs/; revision=1047341
This commit is contained in:
Aaron J. Seigo 2009-11-11 01:54:32 +00:00
parent c5d9d11481
commit e77dfbe529

View File

@ -361,6 +361,7 @@ void Applet::setFailedToLaunch(bool failed, const QString &reason)
setLayout(0);
if (failed) {
d->destroyMessageOverlay();
setBackgroundHints(d->backgroundHints|StandardBackground);
QGraphicsLinearLayout *failureLayout = new QGraphicsLinearLayout(this);