diff options
author | Florian Jung <flo@windfisch.org> | 2013-08-28 00:49:49 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-08-28 00:50:24 +0200 |
commit | c5e6fd0f6dfbf18847b601668ba8c657d776da31 (patch) | |
tree | 32ce317253bb39b0928b521c33007f39cabd150d /muse2/muse/songfile.cpp | |
parent | 3c1ae69c8e4a679588d0db4886f21e150bae572e (diff) |
operations are now replicated for all clones. minor cleanups.
it compiles and seems to work again! :)
Diffstat (limited to 'muse2/muse/songfile.cpp')
-rw-r--r-- | muse2/muse/songfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/songfile.cpp b/muse2/muse/songfile.cpp index 9b52791a..680e4dcd 100644 --- a/muse2/muse/songfile.cpp +++ b/muse2/muse/songfile.cpp @@ -197,7 +197,7 @@ Part* Part::readFromXml(Xml& xml, Track* track, bool doClone, bool toTrack) { if(i->id == id) // Is a matching part found in the clone list? { - // This makes a clone, chains the part, and increases ref counts. + // Create a clone. It must still be added later in a operationgroup npart = track->newPart((Part*)i->cp, true); break; } @@ -242,7 +242,7 @@ Part* Part::readFromXml(Xml& xml, Track* track, bool doClone, bool toTrack) if(!doClone && !isclone) break; - // This makes a clone, chains the part, and increases ref counts. + // Create a clone. It must still be added later in a operationgroup npart = track->newPart((Part*)i->cp, true); break; } |