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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user