Skip to content

Commit

Permalink
test 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed Sep 5, 2024
1 parent 9369d81 commit 3eb323f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions importexport/musicxml/musicxmlsupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -733,15 +733,15 @@ AccidentalType mxmlString2accidentalType(const QString mxmlName, const QString s

QString mxmlAccidentalTextToChar(const QString mxmlName)
{
static std::map<QString, QString> map; // map MusicXML accidental name to MuseScore enum AccidentalType
static QMap<QString, QString> map; // map MusicXML accidental name to MuseScore enum AccidentalType
if (map.empty()) {
map["sharp"] = "";
map["natural"] = "";
map["flat"] = "";
}

if (mu::contains(map, mxmlName))
return map.at(mxmlName);
if (map.contains(mxmlName))
return map.value(mxmlName);
else
qDebug("mxmlAccidentalTextToChar: unsupported accidental '%s'", qPrintable(mxmlName));
return "";
Expand Down

0 comments on commit 3eb323f

Please sign in to comment.