fix 1.x tremolo between 2 notes import

This commit is contained in:
AntonioBL 2013-06-27 10:03:36 +02:00
parent 8eba9634fb
commit 3d9dd09597

View file

@ -1846,6 +1846,10 @@ void Measure::read(XmlReader& e, int staffIdx)
tremolo->setParent(pch);
pch->setTremolo(tremolo);
chord->setTremolo(0);
Fraction pts(timeStretch * pch->globalDuration());
int pcrticks = pts.ticks();
pch->setDuration(pcrticks / 2);
chord->setDuration(crticks / 2);
}
else {
qDebug("tremolo: first note not found");