diff --git a/runners/findmyphone/findmyphonerunner.cpp b/runners/findmyphone/findmyphonerunner.cpp --- a/runners/findmyphone/findmyphonerunner.cpp +++ b/runners/findmyphone/findmyphonerunner.cpp @@ -20,7 +20,6 @@ #include "findmyphonerunner.h" -#include #include #include @@ -63,7 +62,7 @@ Plasma::QueryMatch match(this); match.setType(Plasma::QueryMatch::PossibleMatch); match.setId(deviceId); - match.setIcon(QIcon::fromTheme("kdeconnect")); + match.setIconName(QStringLiteral("kdeconnect")); match.setText(i18n("Find %1", deviceName)); match.setData(deviceId); context.addMatch(match); diff --git a/runners/remotecommands/remotecommandsrunner.cpp b/runners/remotecommands/remotecommandsrunner.cpp --- a/runners/remotecommands/remotecommandsrunner.cpp +++ b/runners/remotecommands/remotecommandsrunner.cpp @@ -20,7 +20,6 @@ #include "remotecommandsrunner.h" -#include #include #include "interfaces/dbusinterfaces.h" @@ -70,7 +69,7 @@ Plasma::QueryMatch match(this); match.setType(Plasma::QueryMatch::PossibleMatch); match.setId(it.key()); - match.setIcon(QIcon::fromTheme("kdeconnect")); + match.setIconName(QStringLiteral("kdeconnect")); match.setText(deviceName + ": " + commandName); match.setSubtext(cont.value(QStringLiteral("command")).toString()); match.setData(deviceId + "$" + it.key());