reset the old icon when a mouseover occurs

svn path=/trunk/KDE/kdelibs/; revision=1125592
This commit is contained in:
Marco Martin 2010-05-11 19:43:19 +00:00
parent ffc6ae289e
commit fe9e96f8bf

View File

@ -1412,6 +1412,7 @@ void IconWidget::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
action->event(event->type(), event->pos()); action->event(event->type(), event->pos());
} }
d->oldIcon = QIcon();
d->animateMainIcon(true, d->states|IconWidgetPrivate::HoverState); d->animateMainIcon(true, d->states|IconWidgetPrivate::HoverState);
update(); update();