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:
Alessandro Portale
2020-02-06 23:44:24 +01:00
parent a5178afb61
commit 2234c517c0
8 changed files with 9 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ BranchView::BranchView() :
m_addButton->setProperty("noArrow", true);
connect(m_addButton, &QToolButton::clicked, this, &BranchView::add);
m_refreshButton->setIcon(Utils::Icons::RELOAD.icon());
m_refreshButton->setIcon(Utils::Icons::RELOAD_TOOLBAR.icon());
m_refreshButton->setToolTip(tr("Refresh"));
m_refreshButton->setProperty("noArrow", true);
connect(m_refreshButton, &QToolButton::clicked, this, &BranchView::refreshCurrentRepository);