Mercurial > hg > svgui
diff view/Overview.cpp @ 585:f4960f8ce798 debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:25 +0100 |
parents | 2ed4e572d0d4 |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/view/Overview.cpp Thu May 12 17:31:43 2011 +0100 +++ b/view/Overview.cpp Mon May 16 17:19:25 2011 +0100 @@ -130,7 +130,7 @@ { // Recalculate zoom in case the size of the widget has changed. -// std::cerr << "Overview::paintEvent: width is " << width() << ", centre frame " << m_centreFrame << std::endl; +// DEBUG << "Overview::paintEvent: width is " << width() << ", centre frame " << m_centreFrame << endl; size_t startFrame = getModelsStartFrame(); size_t frameCount = getModelsEndFrame() - getModelsStartFrame(); @@ -148,10 +148,10 @@ centreFrame = (startFrame + getModelsEndFrame())/2; } if (centreFrame != m_centreFrame) { -// std::cerr << "Overview::paintEvent: Centre frame changed from " +// DEBUG << "Overview::paintEvent: Centre frame changed from " // << m_centreFrame << " to " << centreFrame << " and thus start frame from " << getStartFrame(); m_centreFrame = centreFrame; -// std::cerr << " to " << getStartFrame() << std::endl; +// DEBUG << " to " << getStartFrame() << endl; emit centreFrameChanged(m_centreFrame, false, PlaybackIgnore); }