Mercurial > hg > svgui
diff widgets/InteractiveFileFinder.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/widgets/InteractiveFileFinder.cpp Thu May 12 17:31:43 2011 +0100 +++ b/widgets/InteractiveFileFinder.cpp Mon May 16 17:19:25 2011 +0100 @@ -35,7 +35,7 @@ InteractiveFileFinder::InteractiveFileFinder() : m_lastLocatedLocation("") { - std::cerr << "Registering interactive file finder" << std::endl; + DEBUG << "Registering interactive file finder" << endl; FileFinder::registerFileFinder(this); } @@ -383,7 +383,7 @@ { if (FileSource::canHandleScheme(location)) { if (FileSource(location).isAvailable()) { - std::cerr << "InteractiveFileFinder::find: ok, it's available... returning" << std::endl; + DEBUG << "InteractiveFileFinder::find: ok, it's available... returning" << endl; return location; } } @@ -408,8 +408,8 @@ { if (relativeTo == "") return ""; - std::cerr << "Looking for \"" << location << "\" next to \"" - << relativeTo << "\"..." << std::endl; + DEBUG << "Looking for \"" << location << "\" next to \"" + << relativeTo << "\"..." << endl; QString fileName; QString resolved;