comparison framework/SVFileReader.cpp @ 49:73f682a551dc

* FileSource -> default to showProgress = false
author Chris Cannam
date Thu, 01 Nov 2007 10:45:28 +0000
parents 9ea770d93fae
children de2b3c6479c8
comparison
equal deleted inserted replaced
48:c6328c8d6536 49:73f682a551dc
411 FileFinder *ff = FileFinder::getInstance(); 411 FileFinder *ff = FileFinder::getInstance();
412 QString originalPath = attributes.value("file"); 412 QString originalPath = attributes.value("file");
413 QString path = ff->find(FileFinder::AudioFile, 413 QString path = ff->find(FileFinder::AudioFile,
414 originalPath, m_location); 414 originalPath, m_location);
415 415
416 FileSource file(path); 416 FileSource file(path, true);
417 file.waitForStatus(); 417 file.waitForStatus();
418 418
419 if (!file.isOK()) { 419 if (!file.isOK()) {
420 std::cerr << "SVFileReader::readModel: Failed to retrieve file \"" << path.toStdString() << "\" for wave file model: " << file.getErrorString().toStdString() << std::endl; 420 std::cerr << "SVFileReader::readModel: Failed to retrieve file \"" << path.toStdString() << "\" for wave file model: " << file.getErrorString().toStdString() << std::endl;
421 } else if (!file.isAvailable()) { 421 } else if (!file.isAvailable()) {