forked from qt-creator/qt-creator
ClangTools: Fix icons in the DiagnosticsView context menu
"Online" instead oof "info" Foreground-colored variant of the filter icon. Change-Id: I88cd824632de4152b4b9153403bd0512417d46dc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -128,8 +128,9 @@ DiagnosticView::DiagnosticView(QWidget *parent)
|
|||||||
{
|
{
|
||||||
header()->hide();
|
header()->hide();
|
||||||
|
|
||||||
const QIcon filterIcon
|
const QIcon filterIcon = Utils::Icon({{":/utils/images/filtericon.png",
|
||||||
= Utils::Icon({{":/utils/images/filtericon.png", Utils::Theme::IconsBaseColor}}).icon();
|
Utils::Theme::PanelTextColorMid}},
|
||||||
|
Utils::Icon::Tint).icon();
|
||||||
|
|
||||||
m_showFilter = new QAction(tr("Filter..."), this);
|
m_showFilter = new QAction(tr("Filter..."), this);
|
||||||
m_showFilter->setIcon(filterIcon);
|
m_showFilter->setIcon(filterIcon);
|
||||||
@@ -155,7 +156,7 @@ DiagnosticView::DiagnosticView(QWidget *parent)
|
|||||||
m_separator2->setSeparator(true);
|
m_separator2->setSeparator(true);
|
||||||
|
|
||||||
m_help = new QAction(tr("Web Page"), this);
|
m_help = new QAction(tr("Web Page"), this);
|
||||||
m_help->setIcon(Utils::Icons::INFO.icon());
|
m_help->setIcon(Utils::Icons::ONLINE.icon());
|
||||||
connect(m_help, &QAction::triggered,
|
connect(m_help, &QAction::triggered,
|
||||||
this, &DiagnosticView::showHelp);
|
this, &DiagnosticView::showHelp);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user