parent
716f71e1b1
commit
fd95588c70
|
@ -5134,8 +5134,8 @@ void MusicXMLParserPass2::harmony(const QString& partId, Measure* measure, const
|
|||
double dy = -0.1 * _e.attributes().value("default-y").toDouble();
|
||||
#endif
|
||||
bool printObject = _e.attributes().value("print-object") != "no";
|
||||
QString printFrame = _e.attributes().value("print-frame").toString();
|
||||
QString printStyle = _e.attributes().value("print-style").toString();
|
||||
//QString printFrame = _e.attributes().value("print-frame").toString();
|
||||
//QString printStyle = _e.attributes().value("print-style").toString();
|
||||
|
||||
QString kind, kindText, functionText, symbols, parens;
|
||||
QList<HDegree> degreeList;
|
||||
|
@ -5160,14 +5160,11 @@ void MusicXMLParserPass2::harmony(const QString& partId, Measure* measure, const
|
|||
if (_e.name() == "root-step") {
|
||||
// attributes: print-style
|
||||
step = _e.readElementText();
|
||||
/* TODO: check if this is required
|
||||
if (ee.hasAttribute("text")) {
|
||||
QString rtext = ee.attribute("text");
|
||||
if (rtext == "") {
|
||||
invalidRoot = true;
|
||||
}
|
||||
if (_e.attributes().hasAttribute("text")) {
|
||||
if (_e.attributes().value("text").toString() == "") {
|
||||
invalidRoot = true;
|
||||
}
|
||||
}
|
||||
*/
|
||||
} else if (_e.name() == "root-alter") {
|
||||
// attributes: print-object, print-style
|
||||
// location (left-right)
|
||||
|
@ -5192,11 +5189,13 @@ void MusicXMLParserPass2::harmony(const QString& partId, Measure* measure, const
|
|||
// attributes: use-symbols yes-no
|
||||
// text, stack-degrees, parentheses-degree, bracket-degrees,
|
||||
// print-style, halign, valign
|
||||
|
||||
kindText = _e.attributes().value("text").toString();
|
||||
symbols = _e.attributes().value("use-symbols").toString();
|
||||
parens = _e.attributes().value("parentheses-degrees").toString();
|
||||
kind = _e.readElementText();
|
||||
if (kind == "none") {
|
||||
ha->setRootTpc(Tpc::TPC_INVALID);
|
||||
}
|
||||
} else if (_e.name() == "inversion") {
|
||||
// attributes: print-style
|
||||
skipLogCurrElem();
|
||||
|
|
Loading…
Reference in a new issue