summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/RestInserter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/notation/RestInserter.cpp')
-rw-r--r--src/gui/editors/notation/RestInserter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/editors/notation/RestInserter.cpp b/src/gui/editors/notation/RestInserter.cpp
index faef304..448b40a 100644
--- a/src/gui/editors/notation/RestInserter.cpp
+++ b/src/gui/editors/notation/RestInserter.cpp
@@ -128,7 +128,7 @@ void RestInserter::slotToggleDot()
Note note(m_noteType, m_noteDots);
TQString actionName(NotationStrings::getReferenceName(note, true));
actionName.tqreplace(TQRegExp("-"), "_");
- KAction *action = m_tqparentView->actionCollection()->action(actionName);
+ KAction *action = m_parentView->actionCollection()->action(actionName);
if (!action) {
std::cerr << "WARNING: No such action as " << actionName << std::endl;
} else {
@@ -141,7 +141,7 @@ void RestInserter::slotNotesSelected()
Note note(m_noteType, m_noteDots);
TQString actionName(NotationStrings::getReferenceName(note));
actionName.tqreplace(TQRegExp(" "), "_");
- m_tqparentView->actionCollection()->action(actionName)->activate();
+ m_parentView->actionCollection()->action(actionName)->activate();
}
const TQString RestInserter::ToolName = "restinserter";