Mercurial > hg > svcore
changeset 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 | 796ae7eecced |
children | 7e958685449d |
files | data/fileio/MIDIFileReader.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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()); }