[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Oct 19 21:00:46 CEST 2004


CVS commit by arwalker: 

Use the default plot background color when printing and exporting.

CCMAIL: 91671-done at bugs.kde.org


  M +2 -1      ksttoplevelview.cpp   1.80


--- kdeextragear-2/kst/kst/ksttoplevelview.cpp  #1.79:1.80
@@ -28,4 +28,5 @@
 #include "kstdoc.h"
 #include "kstplotgroup.h"
+#include "kstsettings.h"
 #include "ksttoplevelview.h"
 
@@ -83,5 +84,5 @@ void KstTopLevelView::paint(KstPaintType
     updateAlignment();
   } else {
-    p.eraseRect(geometry());
+    p.fillRect(geometry(), QBrush(KstSettings::globalSettings()->backgroundColor, SolidPattern));
   }
   QRegion clipRegion(geometry());





More information about the Kst mailing list