Commit 121da761 authored by David Edmundson's avatar David Edmundson
Browse files

Port away from deprecated KIconLoader::SmallIcon

Test Plan: Compiles, still get an Xorg icon in the tree

Reviewers: #plasma, nicolasfella

Reviewed By: nicolasfella

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25668
parent db996c77
......@@ -30,7 +30,6 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include <kiconloader.h>
#include <KLocalizedString>
#include <config-X11.h>
#include "config-infocenter.h"
......@@ -232,7 +231,7 @@ static bool GetInfo_XServer_Generic(QTreeWidget *lBox) {
QStringList serverInfo;
serverInfo << i18n("Server Information");
next = new QTreeWidgetItem(lBox, serverInfo);
next->setIcon(0, SmallIcon(QStringLiteral("xorg")));
next->setIcon(0, QIcon::fromTheme(QStringLiteral("xorg")));
next->setExpanded(true);
QStringList displayNameList;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment