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

George Staikos staikos at kde.org
Wed Aug 23 16:35:00 CEST 2006


SVN commit 576231 by staikos:

missing BENCHMARK guard


 M  +4 -0      kst.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/kst.cpp #576230:576231
@@ -2133,8 +2133,10 @@
 
 void KstApp::updateDialogs(bool onlyVisible) {
   if (!_stopping) {
+#ifdef BENCHMARK
     QTime t;
     t.start();
+#endif
     if (!onlyVisible || KstVectorDialogI::globalInstance()->isShown()) {
       KstVectorDialogI::globalInstance()->update();
     }
@@ -2194,7 +2196,9 @@
     }
     updateDataManager(onlyVisible);
     updateViewManager(onlyVisible);
+#ifdef BENCHMARK
     kstdDebug() << "Dialogs updated in " << t.elapsed() << "ms" << endl;
+#endif
   }
 }
 


More information about the Kst mailing list