diff options
Diffstat (limited to 'src/gui/editors/notation/RestInserter.cpp')
-rw-r--r-- | src/gui/editors/notation/RestInserter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/notation/RestInserter.cpp b/src/gui/editors/notation/RestInserter.cpp index 9889253..d55dd3e 100644 --- a/src/gui/editors/notation/RestInserter.cpp +++ b/src/gui/editors/notation/RestInserter.cpp @@ -128,9 +128,9 @@ void RestInserter::slotToggleDot() Note note(m_noteType, m_noteDots); TQString actionName(NotationStrings::getReferenceName(note, true)); actionName.replace(TQRegExp("-"), "_"); - KAction *action = m_parentView->actionCollection()->action(actionName); + KAction *action = m_parentView->actionCollection()->action(actionName.ascii()); if (!action) { - std::cerr << "WARNING: No such action as " << actionName << std::endl; + std::cerr << "WARNING: No such action as " << actionName.ascii() << std::endl; } else { action->activate(); } @@ -141,7 +141,7 @@ void RestInserter::slotNotesSelected() Note note(m_noteType, m_noteDots); TQString actionName(NotationStrings::getReferenceName(note)); actionName.replace(TQRegExp(" "), "_"); - m_parentView->actionCollection()->action(actionName)->activate(); + m_parentView->actionCollection()->action(actionName.ascii())->activate(); } const TQString RestInserter::ToolName = "restinserter"; |