svn path=/trunk/KDE/kdelibs/; revision=880160
This commit is contained in:
Marco Martin 2008-11-04 21:16:48 +00:00
parent 236cb1aa17
commit d3f1778eac

View File

@ -552,7 +552,7 @@ void Applet::setBusy(bool busy)
QRect busyRect(0, 0, busySize, busySize); QRect busyRect(0, 0, busySize, busySize);
busyRect.moveCenter(boundingRect().center().toPoint()); busyRect.moveCenter(boundingRect().center().toPoint());
d->busyWidget->setGeometry(busyRect); d->busyWidget->setGeometry(busyRect);
} else { } else if (d->busyWidget) {
d->busyWidget->hide(); d->busyWidget->hide();
d->busyWidget->deleteLater(); d->busyWidget->deleteLater();
d->busyWidget = 0; d->busyWidget = 0;