From 6990ecd829910386ebcb0cc069b72ab6cce00e9d Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sun, 25 Jul 2010 01:10:50 +0200 Subject: [PATCH] When cloning BB track, indicate this fact in name of cloned BB track Cloning a BB track can be rather confusing (e.g. two "Beat/Bassline 0"). Therefore prepend an indication to the name of the cloned BB track. (cherry picked from commit 3b642271a84853c6194095cad2858b3dc2bb4ecd) --- src/tracks/bb_track.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tracks/bb_track.cpp b/src/tracks/bb_track.cpp index 6cd5e4758..ee5356edc 100644 --- a/src/tracks/bb_track.cpp +++ b/src/tracks/bb_track.cpp @@ -472,6 +472,8 @@ void bbTrack::loadTrackSpecificSettings( const QDomElement & _this ) // and move back to where it belongs! d->movePosition( pos ); } + setName( tr( "Clone of %1" ).arg( + _this.parentNode().toElement().attribute( "name" ) ) ); } else {