[Kst] branches/work/kst/1.5/kst/src/libkstapp

Andrew Walker arwalker at sumusltd.com
Sat May 5 01:47:43 CEST 2007


SVN commit 661242 by arwalker:

BUG:121328 as per Barth's response only implement last suggestion. Use user defined colors rather than hard-coded colors for seletion and focus rects.

 M  +2 -2      kstviewobject.cpp  


--- branches/work/kst/1.5/kst/src/libkstapp/kstviewobject.cpp #661241:661242
@@ -464,8 +464,8 @@
 
 
 void KstViewObject::drawSelectRect(KstPainter& p) {
-  p.setBrush(QBrush(Qt::green));
-  p.setPen(QPen(Qt::black, 0));
+  p.setBrush(QBrush(foregroundColor()));
+  p.setPen(QPen(backgroundColor(), 0));
   drawFocusRect(p);
 }
 


More information about the Kst mailing list