[Kst] extragear/graphics/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Nov 22 22:35:05 CET 2005


SVN commit 482410 by arwalker:

BUG:116847 Ensure that X/Y Zoom mode line is updated correctly

 M  +4 -5      ksttoplevelview.cpp  


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


More information about the Kst mailing list