[Kst] [Bug 91671] make page background color solid/configurable

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


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=91671        
arwalker sumusltd com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From arwalker sumusltd com  2004-10-19 21:00 -------
CVS commit by arwalker: 

Use the default plot background color when printing and exporting.

CCMAIL: 91671-done 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