summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NoteInserter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-26 17:42:48 -0600
committerTimothy Pearson <[email protected]>2011-11-26 17:42:48 -0600
commit4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 (patch)
tree995c0d3e35794c1bb1029d6b7eacdd80827807bd /src/gui/editors/notation/NoteInserter.cpp
parent1461610fb35bb0fcee490f274ea84b8ebfeb1566 (diff)
downloadrosegarden-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.cpp8
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();
}