| Summary: | make page background color solid/configurable | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Nicolas Brisset <nicolas.brisset> |
| Component: | general | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | HI | ||
| Version First Reported In: | 1.x | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Solaris | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nicolas Brisset
2004-10-19 14:30:55 UTC
The dumping of cached pixmaps is a serious bug, and should be fixed asap. The color should be the default plot background color. 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()); |