comparison 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
comparison
equal deleted inserted replaced
614:87b81f959706 615:521438145bd7
298 298
299 /* 299 /*
300 * Describe signal we're analysing (AudioFile, Signal, TimeLine, etc.) 300 * Describe signal we're analysing (AudioFile, Signal, TimeLine, etc.)
301 */ 301 */
302 302
303 QUrl url(trackId); 303 QUrl url(trackId, QUrl::StrictMode);
304 QString scheme = url.scheme().toLower(); 304 QString scheme = url.scheme().toLower();
305 bool local = (scheme == "" || scheme == "file" || scheme.length() == 1); 305 bool local = (scheme == "" || scheme == "file" || scheme.length() == 1);
306 306
307 if (local) { 307 if (local) {
308 if (scheme == "") { 308 if (scheme == "") {