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()) {