# HG changeset patch # User Chris Cannam # Date 1578497188 0 # Node ID 8a06e16948d76951955294924403494547c3a4fc # Parent 796ae7eecced1926441120afe738c65ea132638c Create target model without extents (we now have two separate constructors for this, the second one creates a model with extents even if both are zero) diff -r 796ae7eecced -r 8a06e16948d7 data/fileio/MIDIFileReader.cpp --- a/data/fileio/MIDIFileReader.cpp Wed Jan 08 15:25:43 2020 +0000 +++ b/data/fileio/MIDIFileReader.cpp Wed Jan 08 15:26:28 2020 +0000 @@ -934,7 +934,7 @@ } if (!model) { - model = new NoteModel(m_mainModelSampleRate, 1, 0.0, 0.0, false); + model = new NoteModel(m_mainModelSampleRate, 1, false); model->setValueQuantization(1.0); model->setObjectName(QFileInfo(m_path).fileName()); }