[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Oct 19 19:02:14 CEST 2004


CVS commit by arwalker: 

Clear the buffer wheh printing or saving to file. 
We cannot use the plot background color as there may be numerous plots, all with different background colors.
What might be preferable is to define a window background color, but this would mean creating a window dialog (where the re-grid option more properly belongs).

CCMAIL: 91671 at bugs.kde.org


  M +2 -0      ksttoplevelview.cpp   1.79


--- kdeextragear-2/kst/kst/ksttoplevelview.cpp  #1.78:1.79
@@ -82,4 +82,6 @@ void KstTopLevelView::paint(KstPaintType
   if (type != P_PRINT && type != P_EXPORT) {
     updateAlignment();
+  } else {
+    p.eraseRect(geometry());
   }
   QRegion clipRegion(geometry());





More information about the Kst mailing list