diff options
author | Florian Jung <flo@windfisch.org> | 2011-10-11 14:06:30 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-10-11 14:06:30 +0000 |
commit | 88041047222b78104191f449d3dbd7953d78a6e4 (patch) | |
tree | 3a9587cdd5f5bb790b9aa5eb0aef011077b33014 /muse2/muse/arranger/pcanvas.cpp | |
parent | 3dd4d0393c2824e98022d921667826a568843a7c (diff) |
some testing and crash-fixes
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r-- | muse2/muse/arranger/pcanvas.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index 8226c440..987a7e9a 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -392,13 +392,13 @@ MusECore::UndoOp PartCanvas::moveItem(CItem* item, const QPoint& newpos, DragTyp if (t == MOVE_COPY || t == MOVE_CLONE) { // These will not increment ref count, and will not chain clones... - // TODO FINDMICH: is this still correct (by flo93)? i doubt it! + // TODO: is comment this still correct (by flo93)? i doubt it! result=MusECore::UndoOp(MusECore::UndoOp::AddPart,dpart); } else if (t == MOVE_MOVE) { dpart->setSelected(spart->selected()); // These will increment ref count if not a clone, and will chain clones... - // TODO FINDMICH: is this still correct (by flo93)? i doubt it! + // TODO: is this comment still correct (by flo93)? i doubt it! result=MusECore::UndoOp(MusECore::UndoOp::ModifyPart,spart, dpart, true, false); spart->setSelected(false); @@ -854,9 +854,6 @@ void PartCanvas::mousePress(QMouseEvent* event) QPoint pt = event->pos(); CItem* item = items.find(pt); - //if (item == 0 && _tool!=AutomationTool) // FINDMICHJETZT. neccessary? (flo93) - // return; - switch (_tool) { default: if (item) |