summaryrefslogtreecommitdiff
path: root/muse2/muse/song.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/song.cpp')
-rw-r--r--muse2/muse/song.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp
index 7adc37f3..29ed7023 100644
--- a/muse2/muse/song.cpp
+++ b/muse2/muse/song.cpp
@@ -3804,8 +3804,7 @@ void Song::executeScript(const char* scriptfile, PartList* parts, int quant, boo
if (myProcess->exitCode()) {
QMessageBox::warning(MusEGlobal::muse, tr("MusE - external script failed"),
- tr("MusE was unable to launch the script, error message:\n ")+ QString(errStr)
- );
+ tr("MusE was unable to launch the script, error message:\n%1").arg(QString(errStr)));
endUndo(SC_EVENT_REMOVED);
return;
}