Mercurial > hg > svcore
diff data/fileio/MIDIFileReader.cpp @ 1812:8a06e16948d7
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)
author | Chris Cannam |
---|---|
date | Wed, 08 Jan 2020 15:26:28 +0000 |
parents | 513192aa9b03 |
children |
line wrap: on
line diff
--- 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()); }