comparison main/MainWindow.cpp @ 2001:5d3ef2c450cc

Importing -> Converting
author Chris Cannam
date Wed, 12 Sep 2018 16:05:29 +0100
parents 6d82eecd4164
children b184e71f880d 2ec57b30fffe
comparison
equal deleted inserted replaced
2000:64dbd75b9296 2001:5d3ef2c450cc
2901 } 2901 }
2902 2902
2903 FileOpenStatus status = FileOpenSucceeded; 2903 FileOpenStatus status = FileOpenSucceeded;
2904 2904
2905 ProgressDialog *progress = new ProgressDialog 2905 ProgressDialog *progress = new ProgressDialog
2906 (tr("Importing audio data..."), true, 0, this, Qt::ApplicationModal); 2906 (tr("Converting audio data..."), true, 0, this, Qt::ApplicationModal);
2907 2907
2908 WaveFileModel *model = qobject_cast<WaveFileModel *> 2908 WaveFileModel *model = qobject_cast<WaveFileModel *>
2909 (DataFileReaderFactory::loadCSV 2909 (DataFileReaderFactory::loadCSV
2910 (path, format, 2910 (path, format,
2911 getMainModel() ? getMainModel()->getSampleRate() : defaultRate, 2911 getMainModel() ? getMainModel()->getSampleRate() : defaultRate,