forked from qt-creator/qt-creator
Utils: Add a non-toolbar variant of the "RELOAD" icon
New icon is: Utils::Icons::RELOAD. And the toolbar variant is now Utils::Icons::RELOAD_TOOLBAR. Change-Id: I811d83c7340a717968430ac1ce4a5c708c8ddcf9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -136,7 +136,7 @@ void VcsBaseEditorConfig::setBaseArguments(const QStringList &b)
|
||||
|
||||
QAction *VcsBaseEditorConfig::addReloadButton()
|
||||
{
|
||||
auto action = new QAction(Utils::Icons::RELOAD.icon(), tr("Reload"), d->m_toolBar);
|
||||
auto action = new QAction(Utils::Icons::RELOAD_TOOLBAR.icon(), tr("Reload"), d->m_toolBar);
|
||||
connect(action, &QAction::triggered, this, &VcsBaseEditorConfig::argumentsChanged);
|
||||
addAction(action);
|
||||
return action;
|
||||
|
||||
Reference in New Issue
Block a user