summaryrefslogtreecommitdiffstats
path: root/src/document/MultiViewCommandHistory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document/MultiViewCommandHistory.cpp')
-rw-r--r--src/document/MultiViewCommandHistory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/document/MultiViewCommandHistory.cpp b/src/document/MultiViewCommandHistory.cpp
index a987f0f..7e529fb 100644
--- a/src/document/MultiViewCommandHistory.cpp
+++ b/src/document/MultiViewCommandHistory.cpp
@@ -325,9 +325,9 @@ MultiViewCommandHistory::updateButton(bool undo,
commandName.replace(TQRegExp("&"), "");
commandName.replace(TQRegExp("\\.\\.\\.$"), "");
if (undo)
- text = i18n("Und&o %1").tqarg(commandName);
+ text = i18n("Und&o %1").arg(commandName);
else
- text = i18n("Re&do %1").tqarg(commandName);
+ text = i18n("Re&do %1").arg(commandName);
action->setText(text);
}
}
@@ -369,9 +369,9 @@ MultiViewCommandHistory::updateMenu(bool undo,
TQString text;
if (undo)
- text = i18n("Und&o %1").tqarg(commandName);
+ text = i18n("Und&o %1").arg(commandName);
else
- text = i18n("Re&do %1").tqarg(commandName);
+ text = i18n("Re&do %1").arg(commandName);
menu->insertItem(text, j++);
}