mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +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)
|
||||
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))
|
||||
return true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue