--warning: Remove unnecessay cast

This commit is contained in:
Aleix Pol 2021-05-13 17:07:30 +02:00
parent 1754744297
commit a06bf936bc

View file

@ -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();