Skip to content

Commit 12d20ba

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.blacknotes.qml.swp

20 KB
Binary file not shown.

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)