diff data/model/WritableWaveFileModel.cpp @ 603:e43368ec5ff0

* Fix session save bug reported by Jeff Smith (entities not encoded in label attributes for points in layers)
author Chris Cannam
date Tue, 08 Sep 2009 11:27:26 +0000
parents 166c22eff678
children bcca512445f3 b4a8d8221eaf
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.cpp	Mon Aug 24 16:07:23 2009 +0000
+++ b/data/model/WritableWaveFileModel.cpp	Tue Sep 08 11:27:26 2009 +0000
@@ -234,6 +234,7 @@
     Model::toXml
         (out, indent,
          QString("type=\"writablewavefile\" file=\"%1\" channels=\"%2\" %3")
-         .arg(m_writer->getPath()).arg(m_model->getChannelCount()).arg(extraAttributes));
+         .arg(encodeEntities(m_writer->getPath()))
+         .arg(m_model->getChannelCount()).arg(extraAttributes));
 }