Skip to content

Commit

Permalink
some cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed Sep 28, 2015
1 parent db45595 commit a71e138
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions batch_convert.qml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ MuseScore {
Layout.alignment: Qt.AlignTop | Qt.AlignLeft
//flat: true // no effect?!
//checkable: true // no effect?!
property var extensions: new Array()
property var extensions: new Array
Column {
spacing: 1
CheckBox {
Expand Down Expand Up @@ -193,7 +193,7 @@ MuseScore {
GroupBox {
id: outFormats
title: " " + qsTr("Output Formats") + " "
property var extensions: new Array()
property var extensions: new Array
Column {
spacing: 1
CheckBox {
Expand Down Expand Up @@ -534,7 +534,7 @@ MuseScore {
running: false

// this function processes one linked part and
// gives control back to QT to update the dialog
// gives control back to Qt to update the dialog
onTriggered: {
var curScoreInfo = excerptsList.shift()
var thisScore = curScoreInfo[0].partScore
Expand Down Expand Up @@ -580,9 +580,9 @@ MuseScore {
running: false

// this function processes one file and then
// gives control back to QT to update the dialog
// gives control back to Qt to update the dialog
onTriggered: {
if (fileList.length == 0) {
if (fileList.length === 0) {
// no more files to process
workDialog.standardButtons = StandardButton.Ok
if (!abortRequested) {
Expand Down Expand Up @@ -629,7 +629,7 @@ MuseScore {
// do we have excertps?
var excerpts = thisScore.excerpts
for (var ex = 0; ex < excerpts.length; ex++) {
if (excerpts[ex].partScore != thisScore) {
if (excerpts[ex].partScore !== thisScore) {
// only list when not base score
excerptsList.push([excerpts[ex], fileBase, srcModifiedTime])
}
Expand Down

0 comments on commit a71e138

Please sign in to comment.