comparison 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
comparison
equal deleted inserted replaced
284:41d64b873d87 285:20028c634494
56 delete m_writer; 56 delete m_writer;
57 m_writer = 0; 57 m_writer = 0;
58 return; 58 return;
59 } 59 }
60 60
61 m_reader = new WavFileReader(m_writer->getPath(), true); 61 m_reader = new WavFileReader(m_writer->getPath().toStdString(), true);
62 if (!m_reader->getError().isEmpty()) { 62 if (m_reader->getError() != "") {
63 std::cerr << "WritableWaveFileModel: Error in creating wave file reader" << std::endl; 63 std::cerr << "WritableWaveFileModel: Error in creating wave file reader" << std::endl;
64 delete m_reader; 64 delete m_reader;
65 m_reader = 0; 65 m_reader = 0;
66 return; 66 return;
67 } 67 }