crash--
svn path=/trunk/KDE/kdelibs/; revision=880160
This commit is contained in:
parent
236cb1aa17
commit
d3f1778eac
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user