when the applet is busy can still be interacted with the mouse

svn path=/trunk/KDE/kdelibs/; revision=964935
This commit is contained in:
Marco Martin 2009-05-07 17:13:17 +00:00
parent e9ec710751
commit 359dc82a14

View File

@ -674,6 +674,9 @@ void Applet::setBusy(bool busy)
QGraphicsLinearLayout *mainLayout = new QGraphicsLinearLayout(d->messageOverlay);
d->busyWidget = new Plasma::BusyWidget(d->messageOverlay);
d->busyWidget->setAcceptHoverEvents(false);
d->busyWidget->setAcceptedMouseButtons(Qt::NoButton);
d->messageOverlay->setAcceptHoverEvents(false);
mainLayout->addStretch();
mainLayout->addItem(d->busyWidget);