aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <[email protected]>2023-02-09 11:43:49 +0100
committerAlessandro Portale <[email protected]>2023-02-10 16:27:37 +0000
commit226799858c8a0da51f7f0b99b83308c60f30a288 (patch)
tree8fce92dd1e5db5b024a55c656cd1a8ca17ee2f61 /src/plugins/debugger/debuggerplugin.cpp
parent14280acfd956264d15a92c2976d65e5813836d32 (diff)
Translations: Replace QCoreApplication::translate() with Tr::tr()
Calling <Module>::Tr::tr() is preferred over QCoreApplication::translate("::<Module>", "..."). This changes occurrences in .cpp files. Change-Id: I3311ef0dbf3e7d105a3f181b6b988f3b444468f1 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 8180395d403..cec06c16b0c 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -1063,19 +1063,19 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments)
debugMenu->addSeparator();
act = new QAction(this);
- act->setText(QCoreApplication::translate("::Debugger", "Move to Calling Frame"));
+ act->setText(Tr::tr("Move to Calling Frame"));
act->setEnabled(false);
act->setVisible(false);
ActionManager::registerAction(act, Constants::FRAME_UP);
act = new QAction(this);
- act->setText(QCoreApplication::translate("::Debugger", "Move to Called Frame"));
+ act->setText(Tr::tr("Move to Called Frame"));
act->setEnabled(false);
act->setVisible(false);
ActionManager::registerAction(act, Constants::FRAME_DOWN);
act = new QAction(this);
- act->setText(QCoreApplication::translate("::Debugger", "Operate by Instruction"));
+ act->setText(Tr::tr("Operate by Instruction"));
act->setEnabled(false);
act->setVisible(false);
act->setCheckable(true);