diff layer/TextLayer.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 3437e0fad7ae 1d526ba11a24
line wrap: on
line diff
--- a/layer/TextLayer.cpp	Tue Jun 14 14:48:29 2011 +0100
+++ b/layer/TextLayer.cpp	Tue Jun 14 15:27:05 2011 +0100
@@ -51,7 +51,7 @@
 
     connectSignals(m_model);
 
-//    DEBUG << "TextLayer::setModel(" << model << ")" << endl;
+//    SVDEBUG << "TextLayer::setModel(" << model << ")" << endl;
 
     emit modelReplaced();
 }
@@ -331,7 +331,7 @@
     QColor penColour;
     penColour = v->getForeground();
 
-//    DEBUG << "TextLayer::paint: resolution is "
+//    SVDEBUG << "TextLayer::paint: resolution is "
 //	      << m_model->getResolution() << " frames" << endl;
 
     QPoint localPos;
@@ -413,10 +413,10 @@
 void
 TextLayer::drawStart(View *v, QMouseEvent *e)
 {
-//    DEBUG << "TextLayer::drawStart(" << e->x() << "," << e->y() << ")" << endl;
+//    SVDEBUG << "TextLayer::drawStart(" << e->x() << "," << e->y() << ")" << endl;
 
     if (!m_model) {
-	DEBUG << "TextLayer::drawStart: no model" << endl;
+	SVDEBUG << "TextLayer::drawStart: no model" << endl;
 	return;
     }
 
@@ -439,7 +439,7 @@
 void
 TextLayer::drawDrag(View *v, QMouseEvent *e)
 {
-//    DEBUG << "TextLayer::drawDrag(" << e->x() << "," << e->y() << ")" << endl;
+//    SVDEBUG << "TextLayer::drawDrag(" << e->x() << "," << e->y() << ")" << endl;
 
     if (!m_model || !m_editing) return;
 
@@ -458,7 +458,7 @@
 void
 TextLayer::drawEnd(View *v, QMouseEvent *)
 {
-//    DEBUG << "TextLayer::drawEnd(" << e->x() << "," << e->y() << ")" << endl;
+//    SVDEBUG << "TextLayer::drawEnd(" << e->x() << "," << e->y() << ")" << endl;
     if (!m_model || !m_editing) return;
 
     bool ok = false;
@@ -523,7 +523,7 @@
 void
 TextLayer::editStart(View *v, QMouseEvent *e)
 {
-//    DEBUG << "TextLayer::editStart(" << e->x() << "," << e->y() << ")" << endl;
+//    SVDEBUG << "TextLayer::editStart(" << e->x() << "," << e->y() << ")" << endl;
 
     if (!m_model) return;
 
@@ -572,7 +572,7 @@
 void
 TextLayer::editEnd(View *, QMouseEvent *)
 {
-//    DEBUG << "TextLayer::editEnd(" << e->x() << "," << e->y() << ")" << endl;
+//    SVDEBUG << "TextLayer::editEnd(" << e->x() << "," << e->y() << ")" << endl;
     if (!m_model || !m_editing) return;
 
     if (m_editingCommand) {