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

@@ -277,7 +277,7 @@ SearchSideBarItem::SearchSideBarItem()
QList<QToolButton *> SearchSideBarItem::createToolBarWidgets()
{
auto reindexButton = new QToolButton;
reindexButton->setIcon(Utils::Icons::RELOAD.icon());
reindexButton->setIcon(Utils::Icons::RELOAD_TOOLBAR.icon());
reindexButton->setToolTip(tr("Regenerate Index"));
connect(reindexButton, &QAbstractButton::clicked,
static_cast<SearchWidget *>(widget()), &SearchWidget::reindexDocumentation);