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:
@@ -396,7 +396,7 @@ CallgrindToolPrivate::CallgrindToolPrivate()
|
||||
// reset action
|
||||
m_resetAction = action = new QAction(this);
|
||||
action->setDisabled(true);
|
||||
action->setIcon(Utils::Icons::RELOAD.icon());
|
||||
action->setIcon(Utils::Icons::RELOAD_TOOLBAR.icon());
|
||||
//action->setText(CallgrindTool::tr("Reset"));
|
||||
action->setToolTip(CallgrindTool::tr("Reset all event counters."));
|
||||
connect(action, &QAction::triggered, this, &CallgrindToolPrivate::resetRequested);
|
||||
|
||||
Reference in New Issue
Block a user