@@ -1587,7 +1587,7 @@ static void ending(XmlWriter& xml, Volta* v, bool left)
15871587 return ;
15881588 }
15891589 }
1590- QString voltaXml = QString (" ending number=\" %1\" type=\" %2\" " ).arg (number). arg ( type);
1590+ QString voltaXml = QString (" ending number=\" %1\" type=\" %2\" " ).arg (number, type);
15911591 voltaXml += positioningAttributes (v, left);
15921592 xml.tagE (voltaXml);
15931593 }
@@ -3299,8 +3299,6 @@ void ExportMusicXml::chord(Chord* chord, int staff, const std::vector<Lyrics*>*
32993299#endif
33003300
33013301 for (Note* note : nl) {
3302- QString val;
3303-
33043302 _attr.doAttr (_xml, false );
33053303 QString noteTag = QString (" note" );
33063304
@@ -3775,7 +3773,7 @@ static bool findMetronome(const QList<TextFragment>& list,
37753773 if (words.length () > pos2 + len2) {
37763774 QString s1 = words.mid (0 , pos1); // string to the left of metronome
37773775 QString s2 = words.mid (pos1, len1); // first note
3778- QString s3 = words.mid (pos2, len2); // equals sign
3776+ // QString s3 = words.mid(pos2, len2); // equals sign
37793777 QString s4 = words.mid (pos2 + len2); // string to the right of equals sign
37803778 /*
37813779 qDebug("found note and equals: '%s'%s'%s'%s'",
@@ -4279,7 +4277,7 @@ void ExportMusicXml::ottava(Ottava const* const ot, int staff, const Fraction& t
42794277 qDebug (" ottava subtype %d not understood" , int (st));
42804278 }
42814279 if (sz && tp)
4282- octaveShiftXml = QString (" octave-shift type=\" %1\" size=\" %2\" number=\" %3\" " ).arg (tp). arg ( sz).arg (n + 1 );
4280+ octaveShiftXml = QString (" octave-shift type=\" %1\" size=\" %2\" number=\" %3\" " ).arg (tp, sz).arg (n + 1 );
42834281 }
42844282 else {
42854283 if (st == OttavaType::OTTAVA_8VA || st == OttavaType::OTTAVA_8VB)
0 commit comments