[Kst] branches/work/kst/portto4/kst/src/libkstmath

Mike Fenton mike at staikos.net
Tue Feb 24 16:32:55 CET 2009


SVN commit 931001 by fenton:

Improve debugging output from UpdateManager.


 M  +1 -1      curve.cpp  
 M  +2 -2      relation.cpp  


--- branches/work/kst/portto4/kst/src/libkstmath/curve.cpp #931000:931001
@@ -96,7 +96,7 @@
 
 void Curve::vectorUpdated(ObjectPtr object) {
 #if DEBUG_UPDATE_CYCLE > 1
-    qDebug() << "UP - Curve update ready for" << object->shortName();
+    qDebug() << "\t\t\tUP - Curve update ready for" << object->shortName();
 #endif
     UpdateManager::self()->requestUpdate(object, this);
 }
--- branches/work/kst/portto4/kst/src/libkstmath/relation.cpp #931000:931001
@@ -115,13 +115,13 @@
 
 void Relation::processUpdate(ObjectPtr object) {
 #if DEBUG_UPDATE_CYCLE > 1
-  qDebug() << "UP - Relation" << shortName() << "is processing update of" << object->shortName();
+  qDebug() << "\t\tUP - Relation" << shortName() << "is processing update of" << object->shortName();
 #endif
   UpdateManager::self()->updateStarted(object, this);
   writeLock();
   if (update()) {
 #if DEBUG_UPDATE_CYCLE > 1
-    qDebug() << "UP - Relation" << shortName() << "has been updated as part of update of" << object->shortName() << "informing dependents";
+    qDebug() << "\t\tUP - Relation" << shortName() << "has been updated as part of update of" << object->shortName() << "informing dependents";
 #endif
     emit relationUpdated(object);
   }


More information about the Kst mailing list