diff layer/TimeRulerLayer.cpp @ 587:4806715f7a19

Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author Chris Cannam
date Tue, 14 Jun 2011 15:27:05 +0100
parents f4960f8ce798
children 1a0dfcbffaf1
line wrap: on
line diff
--- a/layer/TimeRulerLayer.cpp	Tue Jun 14 14:48:29 2011 +0100
+++ b/layer/TimeRulerLayer.cpp	Tue Jun 14 15:27:05 2011 +0100
@@ -72,7 +72,7 @@
     resolution = RealTime::realTime2Frame(rtick, rate);
     int right = left + resolution;
 
-//    DEBUG << "TimeRulerLayer::snapToFeatureFrame: type "
+//    SVDEBUG << "TimeRulerLayer::snapToFeatureFrame: type "
 //              << int(snap) << ", frame " << frame << " (time "
 //              << rt << ", tick " << rtick << ", rounded " << rdrt << ") ";
 
@@ -135,7 +135,7 @@
     }
     }
 
-//    DEBUG << " -> " << frame << " (resolution = " << resolution << ")" << endl;
+//    SVDEBUG << " -> " << frame << " (resolution = " << resolution << ")" << endl;
 
     return true;
 }
@@ -195,7 +195,7 @@
 TimeRulerLayer::paint(View *v, QPainter &paint, QRect rect) const
 {
 #ifdef DEBUG_TIME_RULER_LAYER
-    DEBUG << "TimeRulerLayer::paint (" << rect.x() << "," << rect.y()
+    SVDEBUG << "TimeRulerLayer::paint (" << rect.x() << "," << rect.y()
 	      << ") [" << rect.width() << "x" << rect.height() << "]" << endl;
 #endif
     
@@ -252,7 +252,7 @@
         int x = v->getXForFrame(frame);
 
 #ifdef DEBUG_TIME_RULER_LAYER
-        DEBUG << "Considering frame = " << frame << ", x = " << x << endl;
+        SVDEBUG << "Considering frame = " << frame << ", x = " << x << endl;
 #endif
 
         if (x >= rect.x() + rect.width() + 50) {