[Kst] extragear/graphics/kst/kst
Andrew Walker
arwalker at sumusltd.com
Wed Dec 7 01:11:46 CET 2005
SVN commit 486176 by arwalker:
ensure that we also draw something when no image is defined
M +3 -0 kstviewpicture.cpp
--- trunk/extragear/graphics/kst/kst/kstviewpicture.cpp #486175:486176
@@ -69,6 +69,9 @@
void KstViewPicture::paint(KstPainter& p, const QRegion& bounds) {
if (_image.isNull()) {
+ if (p.makingMask()) {
+ p.setRasterOp(Qt::SetROP);
+ }
// fill with X
p.setBrush(QBrush(Qt::gray, Qt::SolidPattern));
p.setPen(QPen(Qt::black, 0, Qt::SolidLine));
More information about the Kst
mailing list