[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Sat Oct 8 19:21:02 CEST 2005


SVN commit 468587 by staikos:

might help a bit in keeping the X server from falling too far behind


 M  +5 -0      kstviewlabel.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewlabel.cpp #468586:468587
@@ -285,7 +285,12 @@
   renderLabel(rc, lp->chunk);
 #ifdef BENCHMARK
   kstdDebug() << "render took: " << t.elapsed() << endl;
+  t.start();
 #endif
+  QApplication::syncX();
+#ifdef BENCHMARK
+  kstdDebug() << "sync X took: " << t.elapsed() << endl;
+#endif
 }
 
 


More information about the Kst mailing list