Mercurial > hg > svgui
comparison layer/FlexiNoteLayer.cpp @ 626:7256926d3af1 tonioni
cleanup
author | gyorgyf |
---|---|
date | Sat, 13 Apr 2013 15:36:54 +0100 |
parents | 1336439dc055 |
children | 640c3792977f |
comparison
equal
deleted
inserted
replaced
625:1336439dc055 | 626:7256926d3af1 |
---|---|
61 { | 61 { |
62 std::cerr << "NOTE: constructed FlexiNoteLayer" << std::endl; | 62 std::cerr << "NOTE: constructed FlexiNoteLayer" << std::endl; |
63 } | 63 } |
64 | 64 |
65 void | 65 void |
66 FlexiNoteLayer::setModel(FlexiNoteModel *model) // THIS FUNCTION FAILS | 66 FlexiNoteLayer::setModel(FlexiNoteModel *model) |
67 { | 67 { |
68 std::cerr << "NOTE: FlexiNoteLayer::setModel called" << std::endl; //delete this!! | |
69 if (m_model == model) return; | 68 if (m_model == model) return; |
70 m_model = model; | 69 m_model = model; |
71 | 70 |
72 connectSignals(m_model); | 71 connectSignals(m_model); |
73 | 72 |
74 // SVDEBUG << "FlexiNoteLayer::setModel(" << model << ")" << endl; | 73 // SVDEBUG << "FlexiNoteLayer::setModel(" << model << ")" << endl; |
75 | 74 |
76 m_scaleMinimum = 0; | 75 m_scaleMinimum = 0; |
77 m_scaleMaximum = 0; | 76 m_scaleMaximum = 0; |
78 std::cerr << "NOTE: FlexiNoteLayer::NoteModel set" << std::endl; //delete this!! | |
79 | 77 |
80 emit modelReplaced(); | 78 emit modelReplaced(); |
81 } | 79 } |
82 | 80 |
83 Layer::PropertyList | 81 Layer::PropertyList |