Add icons in Task

Change-Id: I6c96cb90cd22c9ece225bc99470068a9168dabe4
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Petar Perisin
2013-11-12 21:59:43 +01:00
parent 4a5af14b7f
commit 20cbf7d398
6 changed files with 26 additions and 23 deletions

View File

@@ -261,9 +261,9 @@ TaskWindow::TaskWindow() : d(new TaskWindowPrivate)
d->m_listview->setContextMenuPolicy(Qt::ActionsContextMenu);
d->m_filterWarningsButton = createFilterButton(TaskHub::taskTypeIcon(Task::Warning),
tr("Show Warnings"),
this, SLOT(setShowWarnings(bool)));
d->m_filterWarningsButton = createFilterButton(
QIcon(QLatin1String(":/projectexplorer/images/compile_warning.png")),
tr("Show Warnings"), this, SLOT(setShowWarnings(bool)));
d->m_categoriesButton = new QToolButton;
d->m_categoriesButton->setIcon(QIcon(QLatin1String(Core::Constants::ICON_FILTER)));