diff options
Diffstat (limited to 'src/gui/editors/notation/NoteInserter.cpp')
-rw-r--r-- | src/gui/editors/notation/NoteInserter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/editors/notation/NoteInserter.cpp b/src/gui/editors/notation/NoteInserter.cpp index 2939f89..5b192cc 100644 --- a/src/gui/editors/notation/NoteInserter.cpp +++ b/src/gui/editors/notation/NoteInserter.cpp @@ -662,9 +662,9 @@ void NoteInserter::slotToggleDot() Note note(m_noteType, m_noteDots); TQString actionName(NotationStrings::getReferenceName(note)); 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(); } @@ -690,9 +690,9 @@ void NoteInserter::slotRestsSelected() 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(); } |