[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Wed Nov 23 00:03:14 CET 2005


SVN commit 482441 by staikos:

revertlast


 M  +5 -4      ksttoplevelview.cpp  


--- trunk/extragear/graphics/kst/kst/ksttoplevelview.cpp #482440:482441
@@ -149,10 +149,11 @@
   QTime t;
   t.start();
 #endif
-  // if attempts are made to optimize here please
-  //  read and test for bug report #116847 before 
-  //  checking in any code changes...
-  p.setClipRegion(clipRegion());
+  if (bounds.isNull()) {
+    p.setClipRegion(clipRegion());
+  } else {
+    p.setClipRegion(bounds);
+  }
   KstViewObject::paint(type, p, bounds);
 #ifdef BENCHMARK
   int x = t.elapsed();


More information about the Kst mailing list