comparison layer/TimeValueLayer.cpp @ 438:76cd1c89eb06

* minor tidy
author Chris Cannam
date Fri, 24 Oct 2008 16:21:57 +0000
parents 755243c67f59
children 681542f0c8c5
comparison
equal deleted inserted replaced
437:755243c67f59 438:76cd1c89eb06
64 { 64 {
65 if (m_model == model) return; 65 if (m_model == model) return;
66 m_model = model; 66 m_model = model;
67 67
68 connectSignals(m_model); 68 connectSignals(m_model);
69
70 m_scaleMinimum = 0;
71 m_scaleMaximum = 0;
69 72
70 // std::cerr << "TimeValueLayer::setModel(" << model << ")" << std::endl; 73 // std::cerr << "TimeValueLayer::setModel(" << model << ")" << std::endl;
71 74
72 emit modelReplaced(); 75 emit modelReplaced();
73 } 76 }
290 } 293 }
291 294
292 m_scaleMinimum = min; 295 m_scaleMinimum = min;
293 m_scaleMaximum = max; 296 m_scaleMaximum = max;
294 297
295 std::cerr << "TimeValueLayer::setDisplayExtents: min = " << min << ", max = " << max << std::endl; 298 // std::cerr << "TimeValueLayer::setDisplayExtents: min = " << min << ", max = " << max << std::endl;
296 299
297 emit layerParametersChanged(); 300 emit layerParametersChanged();
298 return true; 301 return true;
299 } 302 }
300 303