diff data/model/WritableWaveFileModel.cpp @ 285:20028c634494

* change some QStrings to std::strings etc
author Chris Cannam
date Thu, 09 Aug 2007 16:29:29 +0000
parents 96a6dd889c68
children 7b96b3bd4bae
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.cpp	Thu Aug 09 14:40:03 2007 +0000
+++ b/data/model/WritableWaveFileModel.cpp	Thu Aug 09 16:29:29 2007 +0000
@@ -58,8 +58,8 @@
         return;
     }
 
-    m_reader = new WavFileReader(m_writer->getPath(), true);
-    if (!m_reader->getError().isEmpty()) {
+    m_reader = new WavFileReader(m_writer->getPath().toStdString(), true);
+    if (m_reader->getError() != "") {
         std::cerr << "WritableWaveFileModel: Error in creating wave file reader" << std::endl;
         delete m_reader;
         m_reader = 0;