unbreak glow animation
svn path=/trunk/KDE/kdelibs/; revision=966173
This commit is contained in:
parent
9b40257b21
commit
30620609ae
@ -300,7 +300,7 @@ void PushButton::paint(QPainter *painter,
|
||||
}
|
||||
|
||||
//if is under mouse draw the animated glow overlay
|
||||
if (!nativeWidget()->isDown() && nativeWidget()->isChecked() && isEnabled() && acceptHoverEvents()) {
|
||||
if (!nativeWidget()->isDown() && !nativeWidget()->isChecked() && isEnabled() && acceptHoverEvents()) {
|
||||
if (d->animId != -1) {
|
||||
QPixmap normalPix = d->background->framePixmap();
|
||||
d->background->setElementPrefix("active");
|
||||
|
Loading…
Reference in New Issue
Block a user