[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Jul 13 20:03:02 CEST 2004


CVS commit by arwalker: 

Use foreground color to draw label when dragging.


  M +3 -2      kst2dplot.cpp   1.144


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.143:1.144
@@ -2046,10 +2046,11 @@ void Kst2DPlot::mouseMoveEvent(QWidget *
         label->draw(p, 0, label->v_offset, false);
       }
-#endif
-
+#else
       pm.fill(_backgroundColor);
+#endif
 
       { // Scope is needed to kill off painter before we resize
         QPainter p(&pm);
+        p.setPen(QPen(_foregroundColor));
         label->draw(p, 0, label->v_offset, false);
       }





More information about the Kst mailing list