don't create "QEventDispatcherUNIX::unregisterTimer: invalid argument"
svn path=/trunk/KDE/kdelibs/; revision=907536
This commit is contained in:
parent
6156b46110
commit
6e8e615e73
@ -137,12 +137,14 @@ void BusyWidget::showEvent(QShowEvent *event)
|
||||
void BusyWidget::hideEvent(QHideEvent *event)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
killTimer(d->timerId);
|
||||
if (d->timerId)
|
||||
killTimer(d->timerId);
|
||||
d->timerId = 0;
|
||||
}
|
||||
|
||||
void BusyWidget::resizeEvent(QGraphicsSceneResizeEvent *event)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
d->frames.clear();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user