Mercurial > hg > svcore
diff rdf/RDFFeatureWriter.cpp @ 615:521438145bd7
More changes related to strict/tolerant URL parsing:
* when selecting an output file name for a given input filename:
- parse the url in StrictMode;
- also, use completeBaseName() rather than baseName()
* when writing out a file:/// URL to the audio:
- parse the url in StrictMode.
author | Christophe Rhodes |
---|---|
date | Wed, 07 Oct 2009 16:45:45 +0000 |
parents | 133418f4e74c |
children | b4a8d8221eaf |
line wrap: on
line diff
--- a/rdf/RDFFeatureWriter.cpp Wed Oct 07 13:10:49 2009 +0000 +++ b/rdf/RDFFeatureWriter.cpp Wed Oct 07 16:45:45 2009 +0000 @@ -300,7 +300,7 @@ * Describe signal we're analysing (AudioFile, Signal, TimeLine, etc.) */ - QUrl url(trackId); + QUrl url(trackId, QUrl::StrictMode); QString scheme = url.scheme().toLower(); bool local = (scheme == "" || scheme == "file" || scheme.length() == 1);