summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/actionconfigdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/dialogs/actionconfigdialog.cpp')
-rw-r--r--quanta/dialogs/actionconfigdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/dialogs/actionconfigdialog.cpp b/quanta/dialogs/actionconfigdialog.cpp
index a66f7499..de63fc3e 100644
--- a/quanta/dialogs/actionconfigdialog.cpp
+++ b/quanta/dialogs/actionconfigdialog.cpp
@@ -103,7 +103,7 @@ ActionConfigDialog::ActionConfigDialog(const TQDict<ToolbarEntry> &toolbarList,
{
if (node.nodeName() == "Action")
{
- action = ac->action(node.toElement().attribute("name"));
+ action = ac->action(node.toElement().attribute("name").ascii());
if (action)
{
oldActionItem = new KListViewItem(item, oldActionItem, action->text().replace(r,""), action->shortcut().toString(), action->name());
@@ -240,7 +240,7 @@ void ActionConfigDialog::slotEditToolbar()
{
if (node.nodeName() == "Action")
{
- action = ac->action(node.toElement().attribute("name"));
+ action = ac->action(node.toElement().attribute("name").ascii());
if (action)
{
oldItem = new KListViewItem(item, oldItem, action->text().replace(TQRegExp("\\&(?!\\&)"),""), action->shortcut().toString(), action->name());