diff options
| author | Florian Jung <flo@windfisch.org> | 2011-07-28 17:11:30 +0000 | 
|---|---|---|
| committer | Florian Jung <flo@windfisch.org> | 2011-07-28 17:11:30 +0000 | 
| commit | dea19421318fdef6cc0f3d9bbfae29c5470361a3 (patch) | |
| tree | 6e55933756a7cd374492b2e4bcfa948cd48d823f /muse2/muse/arranger/pcanvas.cpp | |
| parent | edf44d278da25cb159024fc60596b76bec227924 (diff) | |
speeded up structural operations
fixed several heavy bugs in structural operations:
 - global insert freezed muse
 - global cut and global insert behaved wrong on parts not
   starting at the zeroth tick
 - fixed upper_bound vs. lower_bound issues
clicking below the track list now deselects all tracks
moved checkRegionNotNull() where it belongs
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
| -rw-r--r-- | muse2/muse/arranger/pcanvas.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index 96c30fdb..1f25d6cc 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -374,13 +374,13 @@ UndoOp PartCanvas::moveItem(CItem* item, const QPoint& newpos, DragType t)        if (t == MOVE_COPY || t == MOVE_CLONE) {              // These will not increment ref count, and will not chain clones...  -            // TODO: is this still correct (by flo93)? +            // TODO FINDMICH: is this still correct (by flo93)? i doubt it!              result=UndoOp(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: is this still correct (by flo93)? +            // TODO FINDMICH: is this still correct (by flo93)? i doubt it!              result=UndoOp(UndoOp::ModifyPart,spart, dpart, true, false);              spart->setSelected(false); | 
