summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/muse/track.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse/muse/track.cpp b/muse/muse/track.cpp
index 2463b3ec..1cd356cc 100644
--- a/muse/muse/track.cpp
+++ b/muse/muse/track.cpp
@@ -176,8 +176,8 @@ void Track::setDefaultName()
//
// create unique name
//
- for (int i = 1; true; ++i) {
- QString s = QString("%1 $2").arg(base).arg(i);
+ for (int i = 1;; ++i) {
+ QString s = QString("%1 %2").arg(base).arg(i);
bool found = false;
TrackList* tl = song->tracks();
for (iTrack it = tl->begin(); it != tl->end(); ++it) {