diff data/fileio/MIDIFileReader.cpp @ 1491:1dc64d3d323c import-audio-data

Support progress reporter for data file loads
author Chris Cannam
date Fri, 29 Jun 2018 13:44:53 +0100
parents cee1be4fb8c1
children 70e172e6cc59
line wrap: on
line diff
--- a/data/fileio/MIDIFileReader.cpp	Thu Jun 28 15:52:30 2018 +0100
+++ b/data/fileio/MIDIFileReader.cpp	Fri Jun 29 13:44:53 2018 +0100
@@ -58,7 +58,8 @@
 
 MIDIFileReader::MIDIFileReader(QString path,
                                MIDIFileImportPreferenceAcquirer *acquirer,
-                               sv_samplerate_t mainModelSampleRate) :
+                               sv_samplerate_t mainModelSampleRate,
+                               ProgressReporter *) : // we don't actually report progress
     m_smpte(false),
     m_timingDivision(0),
     m_fps(0),