mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 22:33:08 +00:00
Adapt to KService::property API change
This commit is contained in:
parent
427077fa78
commit
81af72f8cb
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ void WindowUtil::initWayland()
|
||||||
if (service->desktopEntryName().compare(idWithoutDesktop, Qt::CaseInsensitive) == 0)
|
if (service->desktopEntryName().compare(idWithoutDesktop, Qt::CaseInsensitive) == 0)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
const auto renamedFrom = service->property(QStringLiteral("X-Flatpak-RenamedFrom")).toStringList();
|
const auto renamedFrom = service->property<QStringList>(QStringLiteral("X-Flatpak-RenamedFrom"));
|
||||||
if (renamedFrom.contains(appId, Qt::CaseInsensitive) || renamedFrom.contains(idWithoutDesktop, Qt::CaseInsensitive))
|
if (renamedFrom.contains(appId, Qt::CaseInsensitive) || renamedFrom.contains(idWithoutDesktop, Qt::CaseInsensitive))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue