diff layer/TimeInstantLayer.cpp @ 601:3c29f7c1f079

Minor debug change
author Chris Cannam
date Mon, 17 Oct 2011 11:57:37 +0100
parents 4806715f7a19
children 3437e0fad7ae 1a0dfcbffaf1
line wrap: on
line diff
--- a/layer/TimeInstantLayer.cpp	Wed Sep 28 16:44:38 2011 +0100
+++ b/layer/TimeInstantLayer.cpp	Mon Oct 17 11:57:37 2011 +0100
@@ -60,7 +60,7 @@
     connectSignals(m_model);
 
 #ifdef DEBUG_TIME_INSTANT_LAYER
-    SVDEBUG << "TimeInstantLayer::setModel(" << model << ")" << endl;
+    std::cerr << "TimeInstantLayer::setModel(" << model << ")" << std::endl;
 #endif
 
     if (m_model && m_model->getRDFTypeURI().endsWith("Segment")) {
@@ -469,7 +469,7 @@
 TimeInstantLayer::drawStart(View *v, QMouseEvent *e)
 {
 #ifdef DEBUG_TIME_INSTANT_LAYER
-    SVDEBUG << "TimeInstantLayer::drawStart(" << e->x() << ")" << endl;
+    std::cerr << "TimeInstantLayer::drawStart(" << e->x() << ")" << std::endl;
 #endif
 
     if (!m_model) return;
@@ -492,7 +492,7 @@
 TimeInstantLayer::drawDrag(View *v, QMouseEvent *e)
 {
 #ifdef DEBUG_TIME_INSTANT_LAYER
-    SVDEBUG << "TimeInstantLayer::drawDrag(" << e->x() << ")" << endl;
+    std::cerr << "TimeInstantLayer::drawDrag(" << e->x() << ")" << std::endl;
 #endif
 
     if (!m_model || !m_editing) return;
@@ -509,7 +509,7 @@
 TimeInstantLayer::drawEnd(View *, QMouseEvent *e)
 {
 #ifdef DEBUG_TIME_INSTANT_LAYER
-    SVDEBUG << "TimeInstantLayer::drawEnd(" << e->x() << ")" << endl;
+    std::cerr << "TimeInstantLayer::drawEnd(" << e->x() << ")" << std::endl;
 #endif
     if (!m_model || !m_editing) return;
     QString newName = tr("Add Point at %1 s")
@@ -570,7 +570,7 @@
 TimeInstantLayer::editStart(View *v, QMouseEvent *e)
 {
 #ifdef DEBUG_TIME_INSTANT_LAYER
-    SVDEBUG << "TimeInstantLayer::editStart(" << e->x() << ")" << endl;
+    std::cerr << "TimeInstantLayer::editStart(" << e->x() << ")" << std::endl;
 #endif
 
     if (!m_model) return;
@@ -592,7 +592,7 @@
 TimeInstantLayer::editDrag(View *v, QMouseEvent *e)
 {
 #ifdef DEBUG_TIME_INSTANT_LAYER
-    SVDEBUG << "TimeInstantLayer::editDrag(" << e->x() << ")" << endl;
+    std::cerr << "TimeInstantLayer::editDrag(" << e->x() << ")" << std::endl;
 #endif
 
     if (!m_model || !m_editing) return;
@@ -615,7 +615,7 @@
 TimeInstantLayer::editEnd(View *, QMouseEvent *e)
 {
 #ifdef DEBUG_TIME_INSTANT_LAYER
-    SVDEBUG << "TimeInstantLayer::editEnd(" << e->x() << ")" << endl;
+    std::cerr << "TimeInstantLayer::editEnd(" << e->x() << ")" << std::endl;
 #endif
     if (!m_model || !m_editing) return;
     if (m_editingCommand) {