reset the old icon when a mouseover occurs
svn path=/trunk/KDE/kdelibs/; revision=1125592
This commit is contained in:
parent
ffc6ae289e
commit
fe9e96f8bf
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user