Mercurial > hg > svgui
diff widgets/InteractiveFileFinder.cpp @ 584:1fe7951a61e8 debug-output
Remove most toStdString calls (no longer needed, with debug header)
author | Chris Cannam |
---|---|
date | Thu, 12 May 2011 17:31:43 +0100 |
parents | 3228b7913aa4 |
children | f4960f8ce798 |
line wrap: on
line diff
--- a/widgets/InteractiveFileFinder.cpp Thu Apr 14 15:21:21 2011 +0100 +++ b/widgets/InteractiveFileFinder.cpp Thu May 12 17:31:43 2011 +0100 @@ -284,7 +284,7 @@ QFileInfo fi(path); - std::cerr << "type = " << type << ", suffix = " << fi.suffix().toStdString() << std::endl; + std::cerr << "type = " << type << ", suffix = " << fi.suffix() << std::endl; if ((type == LayerFile || type == LayerFileNoMidi) && fi.suffix() == "") { @@ -301,7 +301,7 @@ } else if (selectedFilter.contains(".ttl")) { expectedExtension = "ttl"; } - std::cerr << "expected extension = " << expectedExtension.toStdString() << std::endl; + std::cerr << "expected extension = " << expectedExtension << std::endl; if (expectedExtension != "") { path = QString("%1.%2").arg(path).arg(expectedExtension); fi = QFileInfo(path); @@ -408,8 +408,8 @@ { if (relativeTo == "") return ""; - std::cerr << "Looking for \"" << location.toStdString() << "\" next to \"" - << relativeTo.toStdString() << "\"..." << std::endl; + std::cerr << "Looking for \"" << location << "\" next to \"" + << relativeTo << "\"..." << std::endl; QString fileName; QString resolved; @@ -427,7 +427,7 @@ if (FileSource::isRemote(relativeTo)) { resolved = QUrl(relativeTo).resolved(fileName).toString(); if (!FileSource(resolved).isAvailable()) resolved = ""; - std::cerr << "resolved: " << resolved.toStdString() << std::endl; + std::cerr << "resolved: " << resolved << std::endl; } else { if (QUrl(relativeTo).scheme() == "file") { relativeTo = QUrl(relativeTo).toLocalFile();