Skip to content

Commit 37f2c9a

Browse files
committed
Improve Mu3/Mu4 compatibility
On top of PR #14
1 parent e16dd52 commit 37f2c9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blacknotes.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ MuseScore {
4747
title: qsTr("Unsupported MuseScore Version")
4848
text: qsTr("This plugin needs MuseScore 3.0.2 or later")
4949
onAccepted: {
50-
quit()
50+
(typeof(quit) === 'undefined' ? Qt.quit : quit)()
5151
}
5252
}
5353

@@ -154,6 +154,6 @@ MuseScore {
154154

155155
curScore.endCmd()
156156

157-
quit();
157+
(typeof(quit) === 'undefined' ? Qt.quit : quit)()
158158
}
159159
}

0 commit comments

Comments
 (0)