diff options
author | Florian Jung <flo@windfisch.org> | 2011-05-22 13:24:13 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-05-22 13:24:13 +0000 |
commit | 1701c520500b9198c1aaca29e7bdcd891cb0e971 (patch) | |
tree | 33c78a9e7b1aeb82e334dca9c2d319efe80610d3 /muse2/muse/arranger/pcanvas.cpp | |
parent | de003aced9a2aa2141258ac97701e438220740f0 (diff) |
changed Song::undoOp(foo) to Song::addUndo(UndoOp(foo)).
changed all these undoOps into a UndoOp-constructor.
should not have affected muse's behaviour.
should not introduce bugs or fix stuff.
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r-- | muse2/muse/arranger/pcanvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index daaf2d28..ed52cc03 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -2775,7 +2775,7 @@ void PartCanvas::movePartsTotheRight(unsigned int startTicks, int length) Marker *oldMarker = new Marker(); *oldMarker = *m; m->setTick(m->tick()+length); - song->undoOp(UndoOp::ModifyMarker,oldMarker, m); + song->addUndo(UndoOp(UndoOp::ModifyMarker,oldMarker, m)); } } } |