backport pressed state reset fix
svn path=/branches/KDE/4.4/kdelibs/; revision=1084840
This commit is contained in:
parent
d24d0eaeed
commit
a4f2a6eb7f
@ -1299,6 +1299,9 @@ void IconWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
|
|||||||
action->event(event->type(), event->pos());
|
action->event(event->type(), event->pos());
|
||||||
}
|
}
|
||||||
// d->states &= ~IconWidgetPrivate::HoverState; // Will be set once progress is zero again ...
|
// d->states &= ~IconWidgetPrivate::HoverState; // Will be set once progress is zero again ...
|
||||||
|
//if an eventfilter stolen the mousereleaseevent remove the pressed state here
|
||||||
|
d->states &= ~IconWidgetPrivate::PressedState;
|
||||||
|
|
||||||
d->hoverEffect(false);
|
d->hoverEffect(false);
|
||||||
update();
|
update();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user