X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fignorelistsettingspage.cpp;h=dcf59a2a72299ed7625ffec096237be6407461a7;hb=17c39210b1bce04795046657642de66292518fe6;hp=53306264411bd8701b88f1a196884c59118d975d;hpb=7de4debb5a6744d9f67cb09c5fc0aa136f05be96;p=quassel.git diff --git a/src/qtui/settingspages/ignorelistsettingspage.cpp b/src/qtui/settingspages/ignorelistsettingspage.cpp index 53306264..dcf59a2a 100644 --- a/src/qtui/settingspages/ignorelistsettingspage.cpp +++ b/src/qtui/settingspages/ignorelistsettingspage.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -28,16 +28,17 @@ #include #include #include -#include "iconloader.h" + +#include "icon.h" IgnoreListSettingsPage::IgnoreListSettingsPage(QWidget *parent) : SettingsPage(tr("IRC"), tr("Ignore List"), parent) { ui.setupUi(this); _delegate = new IgnoreListDelegate(ui.ignoreListView); - ui.newIgnoreRuleButton->setIcon(QIcon::fromTheme("list-add")); - ui.deleteIgnoreRuleButton->setIcon(QIcon::fromTheme("edit-delete")); - ui.editIgnoreRuleButton->setIcon(QIcon::fromTheme("configure")); + ui.newIgnoreRuleButton->setIcon(icon::get("list-add")); + ui.deleteIgnoreRuleButton->setIcon(icon::get("edit-delete")); + ui.editIgnoreRuleButton->setIcon(icon::get("configure")); ui.ignoreListView->setSelectionBehavior(QAbstractItemView::SelectRows); ui.ignoreListView->setSelectionMode(QAbstractItemView::SingleSelection);