From a45ffbedf7731a66fb045b763ac50b7a932f3f08 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Sun, 26 May 2024 22:34:47 +0200 Subject: [PATCH] Rename remaining member --- src/importexport/mei/internal/meiimporter.cpp | 6 +++--- src/importexport/mei/internal/meiimporter.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/importexport/mei/internal/meiimporter.cpp b/src/importexport/mei/internal/meiimporter.cpp index 510f576211f3b..14410a82cd8c6 100644 --- a/src/importexport/mei/internal/meiimporter.cpp +++ b/src/importexport/mei/internal/meiimporter.cpp @@ -98,7 +98,7 @@ bool MeiImporter::read(const muse::io::path_t& path) { m_uids = UIDRegister::instance(); m_uids->clear(); - m_hasMscoreIds = false; + m_hasMuseScoreIds = false; m_lastMeasure = nullptr; m_tremoloId.clear(); @@ -142,7 +142,7 @@ bool MeiImporter::read(const muse::io::path_t& path) String xmlIdStr = String(xmlId.value()); if (xmlIdStr.startsWith(u"mscore-")) { // Keep a global flag since we are going to read them only if mei@xml:id is given with LastEID - m_hasMscoreIds = true; + m_hasMuseScoreIds = true; String valStr = xmlIdStr.remove(u"mscore-"); // The mei@xml:id store the LastEID m_score->masterScore()->getEID()->init(valStr.toInt()); @@ -876,7 +876,7 @@ void MeiImporter::readXmlId(engraving::EngravingItem* item, const std::string& m { String xmlIdStr = String::fromStdString(meiUID); // We have a file that has MuseScore EIDs and one on this element - if (m_hasMscoreIds && xmlIdStr.startsWith(u"mscore-")) { + if (m_hasMuseScoreIds && xmlIdStr.startsWith(u"mscore-")) { String valStr = xmlIdStr.remove(u"mscore-"); EID eid = EID::fromStdString(valStr.toStdString()); if (!eid.isValid()) { diff --git a/src/importexport/mei/internal/meiimporter.h b/src/importexport/mei/internal/meiimporter.h index 052b70498a8a4..72254a03b5f80 100644 --- a/src/importexport/mei/internal/meiimporter.h +++ b/src/importexport/mei/internal/meiimporter.h @@ -208,7 +208,7 @@ class MeiImporter UIDRegister* m_uids; /** A flag indicating the file has MuseScore EIDs as xml:ids */ - bool m_hasMscoreIds; + bool m_hasMuseScoreIds; engraving::Fraction m_ticks; int m_lastMeasureN;