Mercurial > hg > svcore
diff data/model/WaveFileModel.cpp @ 279:7802b0e2b0ff
* Encoded entities in file name when saving wave-file model
* Proper handling for percent-encodings in URLs for RemoteFile, and for
queries in URLs
author | Chris Cannam |
---|---|
date | Fri, 13 Jul 2007 10:51:15 +0000 |
parents | 822bd7fd526c |
children | 20028c634494 |
line wrap: on
line diff
--- a/data/model/WaveFileModel.cpp Thu Jul 12 16:14:59 2007 +0000 +++ b/data/model/WaveFileModel.cpp Fri Jul 13 10:51:15 2007 +0000 @@ -615,7 +615,7 @@ { Model::toXml(out, indent, QString("type=\"wavefile\" file=\"%1\" %2") - .arg(m_path).arg(extraAttributes)); + .arg(encodeEntities(m_path)).arg(extraAttributes)); } QString @@ -624,6 +624,6 @@ { return Model::toXmlString(indent, QString("type=\"wavefile\" file=\"%1\" %2") - .arg(m_path).arg(extraAttributes)); + .arg(encodeEntities(m_path)).arg(extraAttributes)); }