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

List:       kde-commits
Subject:    branches/KDE/4.4/kdebase/runtime/kstyles/oxygen
From:       Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date:       2010-02-25 23:36:10
Message-ID: 1267140970.623325.16176.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1096146 by hpereiradacosta:

Backport r1096144:
Use consistent color for menu item and menubar item hover grey hole



 M  +2 -2      oxygen.cpp  


--- branches/KDE/4.4/kdebase/runtime/kstyles/oxygen/oxygen.cpp #1096145:1096146
@@ -1052,7 +1052,7 @@
                         else color = KColorUtils::mix(color, \
KColorUtils::tint(color, _viewHoverBrush.brush(pal).color()));  }
 
-                } else color = _helper.calcMidColor(color);
+                } else color = _helper.calcDarkColor( _helper.backgroundColor( \
color, widget, r.center() ) );  
                 // drawing
                 if( animated && current ) {
@@ -3924,7 +3924,7 @@
 
         color = KColorUtils::mix(color, KColorUtils::tint(color, \
pal.color(QPalette::Highlight), 0.6));  
-    } else  color = _helper.calcDarkColor( color );
+    } else color = _helper.calcDarkColor( color );
 
     pp.setRenderHint(QPainter::Antialiasing);
     pp.setPen(Qt::NoPen);


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

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