[Kst] extragear/graphics/kst/src/libkstapp

George Staikos staikos at kde.org
Wed Aug 2 00:59:11 CEST 2006


SVN commit 568687 by staikos:

revertlast


 M  +8 -10     kstviewlegend.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/kstviewlegend.cpp #568686:568687
@@ -219,16 +219,14 @@
   setDirty(false);
 
   _backBuffer.buffer().resize(contentsRect().size());
-  if (!contentsRect().size().isEmpty()) {
-    _backBuffer.buffer().fill(backgroundColor());
-    KstPainter p;
-    p.begin(&_backBuffer.buffer());
-    QPen pen;
-    pen.setColor(foregroundColor());
-    p.setPen(pen);
-    drawToPainter(p);
-    p.end();
-  }
+  _backBuffer.buffer().fill(backgroundColor());
+  KstPainter p;
+  p.begin(&_backBuffer.buffer());
+  QPen pen;
+  pen.setColor(foregroundColor());
+  p.setPen(pen);
+  drawToPainter(p);
+  p.end();
 }
 
 


More information about the Kst mailing list