diff options
Diffstat (limited to 'src/gui/editors/matrix/MatrixMover.cpp')
| -rw-r--r-- | src/gui/editors/matrix/MatrixMover.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/editors/matrix/MatrixMover.cpp b/src/gui/editors/matrix/MatrixMover.cpp index c482a3c..b525b4b 100644 --- a/src/gui/editors/matrix/MatrixMover.cpp +++ b/src/gui/editors/matrix/MatrixMover.cpp @@ -124,14 +124,14 @@ void MatrixMover::handleLeftButtonPress(timeT time, EventSelection *newSelection; if ((e->state() & TQt::ShiftButton) || - selection->tqcontains(m_currentElement->event())) + selection->contains(m_currentElement->event())) newSelection = new EventSelection(*selection); else newSelection = new EventSelection(m_currentStaff->getSegment()); // if the selection already contains the event, remove it from the // selection if shift is pressed - if (selection->tqcontains(m_currentElement->event())){ + if (selection->contains(m_currentElement->event())){ if (e->state() & TQt::ShiftButton) newSelection->removeEvent(m_currentElement->event()); } else { |
