[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/plasma/private
From:       Marco Martin <notmart () gmail ! com>
Date:       2010-06-28 16:08:30
Message-ID: 20100628160830.D1662AC8E0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1143717 by mart:

discard the stored active tab rectangle if the animation is not running
BUG:225355


 M  +1 -1      nativetabbar.cpp  


--- trunk/KDE/kdelibs/plasma/private/nativetabbar.cpp #1143716:1143717
@@ -232,7 +232,7 @@
     // Drawing Tabborders
     QRect movingRect;
 
-    if (d->currentAnimRect.isNull()) {
+    if (d->currentAnimRect.isNull() || !d->anim || d->anim.data()->state() != \
QAbstractAnimation::Running) {  movingRect = tabRect(currentIndex());
     } else {
         movingRect = d->currentAnimRect;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic