Mercurial > hg > svcore
comparison data/fileio/PlaylistFileReader.cpp @ 844:f5cd33909744
Drop toStdString, with debug header we can stream QStrings
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 13:43:31 +0000 |
parents | e802e550a1f2 |
children | 48e9f538e6e9 |
comparison
equal
deleted
inserted
replaced
843:e802e550a1f2 | 844:f5cd33909744 |
---|---|
131 if (!FileSource::isRemote(line)) { | 131 if (!FileSource::isRemote(line)) { |
132 if (QFileInfo(line).isRelative() && m_basedir != "") { | 132 if (QFileInfo(line).isRelative() && m_basedir != "") { |
133 QString testpath = QDir(m_basedir).filePath(line); | 133 QString testpath = QDir(m_basedir).filePath(line); |
134 if (QFileInfo(testpath).exists() && | 134 if (QFileInfo(testpath).exists() && |
135 QFileInfo(testpath).isFile()) { | 135 QFileInfo(testpath).isFile()) { |
136 cerr << "Path \"" << line.toStdString() | 136 cerr << "Path \"" << line |
137 << "\" is relative, resolving to \"" | 137 << "\" is relative, resolving to \"" |
138 << testpath << "\"" | 138 << testpath << "\"" |
139 << endl; | 139 << endl; |
140 line = testpath; | 140 line = testpath; |
141 } | 141 } |