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

List:       kde-commits
Subject:    KDE/kdesdk/kate/plugins/tabbarextension
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2008-01-22 10:18:08
Message-ID: 1200997088.277676.22381.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 764669 by dhaumann:

fix 100 % cpu usage when highlighting tabs.
BUG: 156171


 M  +0 -2      ktinytabbutton.cpp  


--- trunk/KDE/kdesdk/kate/plugins/tabbarextension/ktinytabbutton.cpp #764668:764669
@@ -122,7 +122,6 @@
         pal.setColor( QPalette::ButtonText, modifiedTabsColor() );
 
 
-    setAutoFillBackground( false );
     switch( tabButtonStyle() )
     {
         case KTinyTabBar::Push:
@@ -132,7 +131,6 @@
                 || ( isActivated() && highlightActiveTab() )
                 || ( previousTab() && highlightPreviousTab() ) )
             {
-                setAutoFillBackground( true );
                 QColor col( pal.button().color() );
                 col.setRed( ( col.red()*comp + mix.red()*opac ) / 100 );
                 col.setGreen( ( col.green()*comp + mix.green()*opac ) / 100 );
[prev in list] [next in list] [prev in thread] [next in thread] 

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