From 9864f15c567961497b016b3f86e60c40377fac71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 14 Feb 2013 00:46:18 +0100 Subject: [PATCH] Use QIcon --- scriptengines/qml/plasmoid/appletinterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scriptengines/qml/plasmoid/appletinterface.cpp b/scriptengines/qml/plasmoid/appletinterface.cpp index 229cfbb46..8a4649326 100644 --- a/scriptengines/qml/plasmoid/appletinterface.cpp +++ b/scriptengines/qml/plasmoid/appletinterface.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -32,7 +33,6 @@ #include #include -#include #include #include @@ -297,7 +297,7 @@ void AppletInterface::setAction(const QString &name, const QString &text, const } if (!icon.isEmpty()) { - action->setIcon(KIcon(icon)); + action->setIcon(QIcon::fromTheme(icon)); } if (!shortcut.isEmpty()) {