changeset 49:73f682a551dc

* FileSource -> default to showProgress = false
author Chris Cannam
date Thu, 01 Nov 2007 10:45:28 +0000
parents c6328c8d6536
children a8bb5b2aca4c
files framework/MainWindowBase.cpp framework/SVFileReader.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Thu Oct 25 15:45:12 2007 +0000
+++ b/framework/MainWindowBase.cpp	Thu Nov 01 10:45:28 2007 +0000
@@ -741,7 +741,7 @@
 MainWindowBase::FileOpenStatus
 MainWindowBase::open(QString fileOrUrl, AudioFileOpenMode mode)
 {
-    return open(FileSource(fileOrUrl), mode);
+    return open(FileSource(fileOrUrl, true), mode);
 }
 
 MainWindowBase::FileOpenStatus
@@ -1143,7 +1143,7 @@
 MainWindowBase::FileOpenStatus
 MainWindowBase::openSessionFile(QString fileOrUrl)
 {
-    return openSession(FileSource(fileOrUrl));
+    return openSession(FileSource(fileOrUrl, true));
 }
 
 MainWindowBase::FileOpenStatus
--- a/framework/SVFileReader.cpp	Thu Oct 25 15:45:12 2007 +0000
+++ b/framework/SVFileReader.cpp	Thu Nov 01 10:45:28 2007 +0000
@@ -413,7 +413,7 @@
         QString path = ff->find(FileFinder::AudioFile,
                                 originalPath, m_location);
 
-        FileSource file(path);
+        FileSource file(path, true);
         file.waitForStatus();
 
         if (!file.isOK()) {