--warning: Remove unnecessay cast

icc-effect-5.26.4
Aleix Pol 2021-05-13 17:07:30 +02:00
parent 1754744297
commit a06bf936bc
1 changed files with 1 additions and 1 deletions

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