diff options
author | Alessandro Portale <[email protected]> | 2023-02-10 14:44:09 +0100 |
---|---|---|
committer | Alessandro Portale <[email protected]> | 2023-02-10 16:27:19 +0000 |
commit | 64aaf66c3b7ca5df95e6f6e2c85a42f905da9017 (patch) | |
tree | 1271aa3a25c1a3950ea482e81c51094c3a74d1da /src/plugins/debugger/debuggerplugin.cpp | |
parent | 6138414813c58162d948de203db4c70075d000b4 (diff) |
Proliferate Tr::tr in various places
This changes several tr() calls which were either missed during Tr::tr-
ization or were added later.
Found with regular expression: (?<!(Tr::)|([\w]))tr\(
Change-Id: I1c0c03589e941614a7a8449ecfebc7d2cad396c3
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 4e3d00298bf..8180395d403 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1613,7 +1613,7 @@ void DebuggerPluginPrivate::attachToRunningApplication() kitChooser->setShowIcons(true); auto dlg = new DeviceProcessesDialog(kitChooser, ICore::dialogParent()); - dlg->addAcceptButton(DeviceProcessesDialog::tr("&Attach to Process")); + dlg->addAcceptButton(Tr::tr("&Attach to Process")); dlg->showAllDevices(); if (dlg->exec() == QDialog::Rejected) { delete dlg; @@ -2261,7 +2261,7 @@ bool wantRunTool(ToolMode toolMode, const QString &toolName) QAction *createStartAction() { - auto action = new QAction(DebuggerMainWindow::tr("Start"), m_instance); + auto action = new QAction(Tr::tr("Start"), m_instance); action->setIcon(ProjectExplorer::Icons::ANALYZER_START_SMALL_TOOLBAR.icon()); action->setEnabled(true); return action; @@ -2269,7 +2269,7 @@ QAction *createStartAction() QAction *createStopAction() { - auto action = new QAction(DebuggerMainWindow::tr("Stop"), m_instance); + auto action = new QAction(Tr::tr("Stop"), m_instance); action->setIcon(Utils::Icons::STOP_SMALL_TOOLBAR.icon()); action->setEnabled(true); return action; |