diff options
author | Florian Jung <flo@windfisch.org> | 2013-09-19 22:34:42 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-09-19 22:34:42 +0200 |
commit | 1e07c748f3a30da6794577cf7e9cb5d62812cfe5 (patch) | |
tree | ac0e15a937fff15e99402cd739935e957f8b2e2e /muse2/muse/functions.cpp | |
parent | b3fc353a09496ee0aea7099d72e6963f4c2fc774 (diff) |
Use Part::addEvent() instead of adding to EventList directly
Diffstat (limited to 'muse2/muse/functions.cpp')
-rw-r--r-- | muse2/muse/functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/functions.cpp b/muse2/muse/functions.cpp index 7569cc95..45c665b1 100644 --- a/muse2/muse/functions.cpp +++ b/muse2/muse/functions.cpp @@ -1523,7 +1523,7 @@ bool merge_parts(const set<const Part*>& parts) { Event new_event=ev_it->second.clone(); new_event.setTick( new_event.tick() + (*p_it)->tick() - new_part->tick() ); - new_part->nonconst_events().add(new_event); + new_part->addEvent(new_event); } } |