[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Wed Nov 23 02:09:46 CET 2005


SVN commit 482466 by staikos:

remove the cache here - it doesn't help anything clearly


 M  +1 -5      ksttoplevelview.cpp  


--- trunk/extragear/graphics/kst/kst/ksttoplevelview.cpp #482465:482466
@@ -149,16 +149,12 @@
   QTime t;
   t.start();
 #endif
-  QRegion cr = clipRegion();
   if (bounds.isNull()) {
-    p.setClipRegion(cr);
+    p.setClipRegion(clipRegion());
   } else {
     p.setClipRegion(bounds);
   }
   KstViewObject::paint(type, p, bounds);
-  if (!bounds.isNull()) {
-    p.setClipRegion(cr);
-  }
 #ifdef BENCHMARK
   int x = t.elapsed();
   kstdDebug() << " -> Parent class took " << x << "ms" << endl;


More information about the Kst mailing list