comparison 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
comparison
equal deleted inserted replaced
602:02d9664906e8 603:e43368ec5ff0
232 // arrangements for the audio file itself. 232 // arrangements for the audio file itself.
233 233
234 Model::toXml 234 Model::toXml
235 (out, indent, 235 (out, indent,
236 QString("type=\"writablewavefile\" file=\"%1\" channels=\"%2\" %3") 236 QString("type=\"writablewavefile\" file=\"%1\" channels=\"%2\" %3")
237 .arg(m_writer->getPath()).arg(m_model->getChannelCount()).arg(extraAttributes)); 237 .arg(encodeEntities(m_writer->getPath()))
238 } 238 .arg(m_model->getChannelCount()).arg(extraAttributes));
239 239 }
240