diff options
author | Werner Schweer <ws.seh.de> | 2006-11-02 17:19:30 +0000 |
---|---|---|
committer | Werner Schweer <ws.seh.de> | 2006-11-02 17:19:30 +0000 |
commit | ee617e87df9322768f4f3c456d8470ec67ab16ea (patch) | |
tree | 61f7d984162246e4357c8aeff0c071e50932fb34 | |
parent | fdcce890fad0639086ff19d3159366aed9cf2ed0 (diff) |
fix typo in "createUniqueName" for tracks
-rw-r--r-- | muse/muse/track.cpp | 4 |
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) { |