diff options
author | hjk <hjk@qt.io> | 2023-01-18 09:38:35 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2023-01-18 15:33:59 +0000 |
commit | fa7dd2fd3bdb1fd427635c9d23d0a40b47fe0c9a (patch) | |
tree | b0646ae67c927fbb8cae7deb23950a4948742f33 /src/plugins/vcsbase/vcsbaseeditorconfig.cpp | |
parent | 7e815270f1b0a7e9cefa524a6cb52e8f22482c96 (diff) |
VcsBase: Convert to Tr::tr
To reduce the amount of duplicated strings for translators to handle.
The problem is not very prominent in vcsbase, but that's where we
are moving everywhere else.
Change-Id: Icb11fad3bccfea8a1408420e729566a75adccb66
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseeditorconfig.cpp')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseeditorconfig.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/vcsbaseeditorconfig.cpp b/src/plugins/vcsbase/vcsbaseeditorconfig.cpp index efbbb14f92..fdf8542ab3 100644 --- a/src/plugins/vcsbase/vcsbaseeditorconfig.cpp +++ b/src/plugins/vcsbase/vcsbaseeditorconfig.cpp @@ -3,6 +3,8 @@ #include "vcsbaseeditorconfig.h" +#include "vcsbasetr.h" + #include <utils/aspects.h> #include <utils/utilsicons.h> @@ -129,7 +131,7 @@ void VcsBaseEditorConfig::setBaseArguments(const QStringList &b) QAction *VcsBaseEditorConfig::addReloadButton() { - auto action = new QAction(Utils::Icons::RELOAD_TOOLBAR.icon(), tr("Reload"), d->m_toolBar); + auto action = new QAction(Icons::RELOAD_TOOLBAR.icon(), Tr::tr("Reload"), d->m_toolBar); connect(action, &QAction::triggered, this, &VcsBaseEditorConfig::argumentsChanged); addAction(action); return action; |