diff data/fileio/FileSource.h @ 831:12aff5a181bc

When switching to "literal mode" for a local file path, use the original file path as passed to the FileSource ctor rather than going through QUrl. This avoids filename becoming encoded and QUrl::toString failing to decode it (as is happening with Windows paths using Qt5 currently).
author Chris Cannam <chris.cannam@eecs.qmul.ac.uk>
date Wed, 24 Jul 2013 18:12:57 +0100
parents 95d4a59295b7
children c6f2b93a7d52
line wrap: on
line diff
--- a/data/fileio/FileSource.h	Wed Jul 17 15:43:42 2013 +0100
+++ b/data/fileio/FileSource.h	Wed Jul 24 18:12:57 2013 +0100
@@ -218,6 +218,7 @@
 protected:
     FileSource &operator=(const FileSource &); // not provided
 
+    QString m_rawFileOrUrl;
     QUrl m_url;
     QFile *m_localFile;
     QNetworkReply *m_reply;