diff options
author | Timothy Pearson <[email protected]> | 2011-11-26 17:42:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-26 17:42:48 -0600 |
commit | 4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 (patch) | |
tree | 995c0d3e35794c1bb1029d6b7eacdd80827807bd /src/gui/editors/notation/NoteInserter.cpp | |
parent | 1461610fb35bb0fcee490f274ea84b8ebfeb1566 (diff) | |
download | rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.tar.gz rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.zip |
Fix FTBFS
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(); } |