Mercurial > hg > svcore
diff data/model/WritableWaveFileModel.cpp @ 290:92e8dbde73cd
* Revert revision 713. We do like QStrings after all.
author | Chris Cannam |
---|---|
date | Fri, 24 Aug 2007 11:41:48 +0000 |
parents | 7b96b3bd4bae |
children | 5877d68815c7 |
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.cpp Thu Aug 16 16:47:07 2007 +0000 +++ b/data/model/WritableWaveFileModel.cpp Fri Aug 24 11:41:48 2007 +0000 @@ -58,8 +58,8 @@ return; } - m_reader = new WavFileReader(m_writer->getPath().toStdString(), true); - if (m_reader->getError() != "") { + m_reader = new WavFileReader(m_writer->getPath(), true); + if (!m_reader->getError().isEmpty()) { std::cerr << "WritableWaveFileModel: Error in creating wave file reader" << std::endl; delete m_reader; m_reader = 0;