Fix chord separation - need to copy all other chord properties
Make time variables const in MChord::collectChords function
Remove equality check before assignment for shorter code
Add Q_ASSERT: check for too short notes after quantization
Better quantization to shortest note in bar
Erase after quantization notes with length < min allowed duration
New tuplet error estimation function
Remove tuplets with extra rests
Fix tuplet error estimation function
Remove unnecessary shortest note values from importmidi tests
More balanced tuplet error estimation
Make local variable constant
Set measure numbers during MIDI import
Adapt importmidi tests: set measure numbers
Add Q_ASSERT_X: do clefs break ties
Move tie functions to a separate file; add Q_ASSERT check for ties consistency
Use bool instead of int for clef-across-tie check
Fix Q_ASSERT function to check ties consistency
Round average pitch for clefs instead of implicit floor
Merge pull request #728 from trig-ger/midi_fixes

Fixes for MIDI import