Mercurial > hg > svgui
diff view/ViewManager.cpp @ 585:f4960f8ce798 debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:25 +0100 |
parents | 1fe7951a61e8 |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/view/ViewManager.cpp Thu May 12 17:31:43 2011 +0100 +++ b/view/ViewManager.cpp Mon May 16 17:19:25 2011 +0100 @@ -499,7 +499,7 @@ View *v = dynamic_cast<View *>(sender()); #ifdef DEBUG_VIEW_MANAGER - std::cerr << "ViewManager::viewCentreFrameChanged(" << f << ", " << locked << ", " << mode << "), view is " << v << std::endl; + DEBUG << "ViewManager::viewCentreFrameChanged(" << f << ", " << locked << ", " << mode << "), view is " << v << endl; #endif if (locked) { @@ -556,7 +556,7 @@ View *v = dynamic_cast<View *>(sender()); if (!v) { - std::cerr << "ViewManager::viewZoomLevelChanged: WARNING: sender is not a view" << std::endl; + DEBUG << "ViewManager::viewZoomLevelChanged: WARNING: sender is not a view" << endl; return; }