Merge pull request #1037 from Jojo-Schmitz/warnings
fix warning reg. unused variable
This commit is contained in:
commit
15f899f7bd
1 changed files with 0 additions and 1 deletions
|
@ -583,7 +583,6 @@ Score::FileError Score::read114(XmlReader& e)
|
|||
qreal yo = 0;
|
||||
if (s->type() == Element::Type::OTTAVA) {
|
||||
// fix ottava position
|
||||
Ottava* ottava = static_cast<Ottava*>(s);
|
||||
yo = styleS(StyleIdx::ottavaY).val() * spatium();
|
||||
if (s->placement() == Element::Placement::BELOW)
|
||||
yo = -yo + s->staff()->height();
|
||||
|
|
Loading…
Reference in a new issue