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

List:       kde-commits
Subject:    koffice/krita/ui/widgets
From:       Cyrille Berger <cyb () lepi ! org>
Date:       2009-06-01 13:30:51
Message-ID: 1243863051.965975.31494.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 976314 by berger:

Fix: always display the curve as a black line (this fix the curve widget with dark themes)



 M  +1 -1      kis_curve_widget.cpp  


--- trunk/koffice/krita/ui/widgets/kis_curve_widget.cpp #976313:976314
@@ -286,7 +286,7 @@
     double normalizedX;
     int x;
 
-    p.setPen(QPen::QPen(palette().text(), 1, Qt::SolidLine));
+    p.setPen(QPen(Qt::black, 1, Qt::SolidLine));
     for (x = 0 ; x < wWidth ; x++) {
         normalizedX = double(x) / wWidth;
         curY = wHeight-getCurveValue(normalizedX)*wHeight;
[prev in list] [next in list] [prev in thread] [next in thread] 

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