diff options
Diffstat (limited to 'src/document/MultiViewCommandHistory.cpp')
-rw-r--r-- | src/document/MultiViewCommandHistory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/document/MultiViewCommandHistory.cpp b/src/document/MultiViewCommandHistory.cpp index 04f1aa4..0cc94b2 100644 --- a/src/document/MultiViewCommandHistory.cpp +++ b/src/document/MultiViewCommandHistory.cpp @@ -322,8 +322,8 @@ MultiViewCommandHistory::updateButton(bool undo, } else { action->setEnabled(true); TQString commandName = stack.top()->name(); - commandName.tqreplace(TQRegExp("&"), ""); - commandName.tqreplace(TQRegExp("\\.\\.\\.$"), ""); + commandName.replace(TQRegExp("&"), ""); + commandName.replace(TQRegExp("\\.\\.\\.$"), ""); if (undo) text = i18n("Und&o %1").tqarg(commandName); else @@ -364,8 +364,8 @@ MultiViewCommandHistory::updateMenu(bool undo, stack.pop(); TQString commandName = command->name(); - commandName.tqreplace(TQRegExp("&"), ""); - commandName.tqreplace(TQRegExp("\\.\\.\\.$"), ""); + commandName.replace(TQRegExp("&"), ""); + commandName.replace(TQRegExp("\\.\\.\\.$"), ""); TQString text; if (undo) |