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/part.h | |
parent | 3c1ae69c8e4a679588d0db4886f21e150bae572e (diff) |
operations are now replicated for all clones. minor cleanups.
it compiles and seems to work again! :)
Diffstat (limited to 'muse2/muse/part.h')
-rw-r--r-- | muse2/muse/part.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/part.h b/muse2/muse/part.h index e579e64d..02056a2d 100644 --- a/muse2/muse/part.h +++ b/muse2/muse/part.h @@ -109,8 +109,9 @@ class Part : public PosLen { bool isCloneOf(const Part*) const; bool hasClones() const { return _prevClone!=this || _nextClone!=this; } int nClones() const; - Part* prevClone() const { return _prevClone; } // FINDMICHJETZT DELETETHIS 2x + Part* prevClone() const { return _prevClone; } // FINDMICHJETZT make it const Part*! Part* nextClone() const { return _nextClone; } + Part* backupClone() const { return _backupClone; } void unchainClone(); void chainClone(Part* p); // *this is made a sibling of p! p is not touched (except for its clone-chain), whereas this->events will get altered |