Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
824:420ade1cb6da | 831:12aff5a181bc |
---|---|
216 void cancelled(); | 216 void cancelled(); |
217 | 217 |
218 protected: | 218 protected: |
219 FileSource &operator=(const FileSource &); // not provided | 219 FileSource &operator=(const FileSource &); // not provided |
220 | 220 |
221 QString m_rawFileOrUrl; | |
221 QUrl m_url; | 222 QUrl m_url; |
222 QFile *m_localFile; | 223 QFile *m_localFile; |
223 QNetworkReply *m_reply; | 224 QNetworkReply *m_reply; |
224 QString m_localFilename; | 225 QString m_localFilename; |
225 QString m_errorString; | 226 QString m_errorString; |