From a06bf936bc50aa7670fde72fd550cac2ee0ed5e1 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 13 May 2021 17:07:30 +0200 Subject: [PATCH] --warning: Remove unnecessay cast --- src/plugins/krunner-integration/windowsrunnerinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/krunner-integration/windowsrunnerinterface.cpp b/src/plugins/krunner-integration/windowsrunnerinterface.cpp index 63951ecfaf..a527ce8616 100644 --- a/src/plugins/krunner-integration/windowsrunnerinterface.cpp +++ b/src/plugins/krunner-integration/windowsrunnerinterface.cpp @@ -255,7 +255,7 @@ void WindowsRunner::Run(const QString &id, const QString &actionId) RemoteMatch WindowsRunner::desktopMatch(const VirtualDesktop *desktop, const WindowsRunnerAction action, qreal relevance) const { RemoteMatch match; - match.id = QString::number((int)action) + QLatin1Char('_') + desktop->id(); + match.id = QString::number(action) + QLatin1Char('_') + desktop->id(); match.type = Plasma::QueryMatch::ExactMatch; match.iconName = QStringLiteral("user-desktop"); match.text = desktop->name();