summaryrefslogtreecommitdiff
path: root/muse2/muse/midiedit/dcanvas.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-08-24 17:54:58 +0000
committerFlorian Jung <flo@windfisch.org>2011-08-24 17:54:58 +0000
commit97d78276a49d551ff908b99d343cd3c0960a539b (patch)
tree041aa7bfe52e879329ae089f56b7d10cbf13a2dc /muse2/muse/midiedit/dcanvas.cpp
parent71a196c4e2db4bf5ab618b13c4e21f8d15106298 (diff)
parent2387d77ad58f25983c47d36264f228f4f8078a37 (diff)
merged with trunk: fetched pianoroll/drumedit bug fix
Diffstat (limited to 'muse2/muse/midiedit/dcanvas.cpp')
-rw-r--r--muse2/muse/midiedit/dcanvas.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/muse2/muse/midiedit/dcanvas.cpp b/muse2/muse/midiedit/dcanvas.cpp
index 615653b3..6abaaa51 100644
--- a/muse2/muse/midiedit/dcanvas.cpp
+++ b/muse2/muse/midiedit/dcanvas.cpp
@@ -242,10 +242,6 @@ UndoOp DrumCanvas::moveItem(CItem* item, const QPoint& pos, DragType dtype)
newEvent.setPitch(npitch);
newEvent.setTick(ntick);
- // msgAddEvent and msgChangeEvent (below) will set these, but set them here first?
- //item->setPart(part);
- item->setEvent(newEvent);
-
// Added by T356, removed by flo93: with operation groups, it happens that the
// part is too short right now, even if it's queued for being extended
//if(((int)newEvent.endTick() - (int)part->lenTick()) > 0)