diff layer/NoteLayer.cpp @ 625:1336439dc055 tonioni

fixed flexi note layer and propagated model selection to analyser
author gyorgyf
date Sat, 13 Apr 2013 13:39:17 +0100
parents 4806715f7a19
children 7256926d3af1
line wrap: on
line diff
--- a/layer/NoteLayer.cpp	Tue Mar 26 20:14:08 2013 +0000
+++ b/layer/NoteLayer.cpp	Sat Apr 13 13:39:17 2013 +0100
@@ -49,12 +49,14 @@
     m_scaleMinimum(0),
     m_scaleMaximum(0)
 {
-    
+  	SVDEBUG << "constructed NoteLayer" << endl;
 }
 
 void
 NoteLayer::setModel(NoteModel *model)
 {
+	std::cerr << "NOTE: called NoteLayer::setModel" << std::endl; //delete this!!
+	
     if (m_model == model) return;
     m_model = model;
 
@@ -65,6 +67,8 @@
     m_scaleMinimum = 0;
     m_scaleMaximum = 0;
 
+	std::cerr << "NOTE: NoteLayer::NoteModel set" << std::endl; //delete this!!
+
     emit modelReplaced();
 }