forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user