Skip to content

Commit

Permalink
Changed sharps to music sharps unicode (LMMS#6873)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvoorhes authored Sep 20, 2023
1 parent 7e8c79a commit 3df28e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ QPixmap* PianoRoll::s_toolKnife = nullptr;

SimpleTextFloat * PianoRoll::s_textFloat = nullptr;

static std::array<QString, 12> s_noteStrings {"C", "C# / D\u266D", "D", "D# / E\u266D", "E", "F", "F# / G\u266D", "G", "G# / A\u266D", "A", "A# / B\u266D", "B"};
static std::array<QString, 12> s_noteStrings {
"C", "C\u266F / D\u266D", "D", "D\u266F / E\u266D", "E", "F", "F\u266F / G\u266D",
"G", "G\u266F / A\u266D", "A", "A\u266F / B\u266D", "B"
};

static QString getNoteString(int key)
{
Expand Down

0 comments on commit 3df28e3

Please sign in to comment.