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

List:       kde-commits
Subject:    playground/utils/filelight/src/part/radialMap
From:       Martin Tobias Holmedahl Sandsmark <sandsmark () samfundet ! no>
Date:       2010-05-26 17:41:29
Message-ID: 20100526174129.47CEDAC8C0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1130886 by sandsmark:

don't use hardcoded colors for the centre of the radial map

 M  +2 -2      map.cpp  


--- trunk/playground/utils/filelight/src/part/radialMap/map.cpp #1130885:1130886
@@ -371,8 +371,8 @@
 
     //  if(excess > 0) rect.addCoords(excess, excess, 0, 0); //ugly
 
-    paint.setPen(Qt::gray);
-    paint.setBrush(Qt::white);
+    paint.setPen(m_scheme.foreground().color());
+    paint.setBrush(m_scheme.background().color());
     paint.drawEllipse(rect);
     paint.drawText(rect, Qt::AlignCenter, m_centerText);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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