summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/MatrixView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/matrix/MatrixView.cpp')
-rw-r--r--src/gui/editors/matrix/MatrixView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/matrix/MatrixView.cpp b/src/gui/editors/matrix/MatrixView.cpp
index 680a31e..22db8a6 100644
--- a/src/gui/editors/matrix/MatrixView.cpp
+++ b/src/gui/editors/matrix/MatrixView.cpp
@@ -1156,7 +1156,7 @@ void MatrixView::setCurrentSelection(EventSelection* s, bool preview,
i != s->getSegmentEvents().end(); ++i) {
if (oldSelection && oldSelection->getSegment() == s->getSegment()
- && oldSelection->tqcontains(*i))
+ && oldSelection->contains(*i))
continue;
foundNewEvent = true;
@@ -1254,11 +1254,11 @@ void MatrixView::setCurrentSelection(EventSelection* s, bool preview,
if (s) {
stateChanged("have_selection", KXMLGUIClient::StateNoReverse);
- if (s->tqcontains(Note::EventType)) {
+ if (s->contains(Note::EventType)) {
stateChanged("have_notes_in_selection",
KXMLGUIClient::StateNoReverse);
}
- if (s->tqcontains(Note::EventRestType)) {
+ if (s->contains(Note::EventRestType)) {
stateChanged("have_rests_in_selection",
KXMLGUIClient::StateNoReverse);
}