diff --git a/blacknotes.qml b/blacknotes.qml index a9d44ab..935dffd 100644 --- a/blacknotes.qml +++ b/blacknotes.qml @@ -47,7 +47,7 @@ MuseScore { title: qsTr("Unsupported MuseScore Version") text: qsTr("This plugin needs MuseScore 3.0.2 or later") onAccepted: { - quit() + (typeof(quit) === 'undefined' ? Qt.quit : quit)() } } @@ -154,6 +154,6 @@ MuseScore { curScore.endCmd() - quit(); + (typeof(quit) === 'undefined' ? Qt.quit : quit)() } }