Skip to content

Commit e5e25f8

Browse files
committed
Fix an apparent incompatibility between enum class ...: unsigned char and QML enums
Backport of musescore#7521 resp. duplicate of musescore#7520
1 parent 1ccaaa7 commit e5e25f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libmscore/note.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class NoteDot;
4242
class Spanner;
4343
class StaffType;
4444
class NoteEditData;
45-
enum class AccidentalType : unsigned char;
45+
enum class AccidentalType;
4646

4747
static const int MAX_DOTS = 4;
4848

libmscore/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ enum class ElementType {
150150
//---------------------------------------------------------
151151
// NOTE: keep this in sync with with accList array in accidentals.cpp
152152

153-
enum class AccidentalType : unsigned char {
153+
enum class AccidentalType {
154154
///.\{
155155
NONE,
156156
FLAT,

0 commit comments

Comments
 (0)