disabled glow animation when a button is pressed -e.g. with right click, released, then left, because it was causing a glitch.

svn path=/trunk/KDE/kdebase/workspace/; revision=1025378
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-09-18 15:03:59 +00:00
parent 40ab147f81
commit 29cfa52c0a
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ namespace Oxygen
{
KCommonDecorationButton::leaveEvent(e);
if( status_ != Oxygen::Pressed )
if( status_ == Oxygen::Hovered )
{
timeLine_.setDirection( QTimeLine::Backward );
if( timeLine_.state() == QTimeLine::NotRunning ) timeLine_.start();