Mercurial > hg > svgui
diff view/Overview.cpp @ 586:1ae54a29e59e
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:48:29 +0100 |
parents | f4960f8ce798 |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/view/Overview.cpp Thu Apr 14 15:21:21 2011 +0100 +++ b/view/Overview.cpp Tue Jun 14 14:48:29 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); }