mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Port to KService::startupNotify()
This commit is contained in:
parent
b668e69478
commit
16a3165cd9
2 changed files with 3 additions and 3 deletions
|
|
@ -134,7 +134,7 @@ void ApplicationListModel::load()
|
|||
data.storageId = service->storageId();
|
||||
data.uniqueId = service->storageId();
|
||||
data.entryPath = service->exec();
|
||||
data.startupNotify = service->property(QStringLiteral("StartupNotify")).toBool();
|
||||
data.startupNotify = service->startupNotify().value_or(false);
|
||||
unorderedList << data;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ void DesktopModel::load()
|
|||
data.storageId = service->storageId();
|
||||
data.uniqueId = uniqueId;
|
||||
data.entryPath = service->exec();
|
||||
data.startupNotify = service->property(QStringLiteral("StartupNotify")).toBool();
|
||||
data.startupNotify = service->startupNotify().value_or(false);
|
||||
|
||||
if (m_favorites.contains(uniqueId)) {
|
||||
data.location = Favorites;
|
||||
|
|
@ -250,7 +250,7 @@ void DesktopModel::addFavorite(const QString &storageId, int row, LauncherLocati
|
|||
data.storageId = service->storageId();
|
||||
data.uniqueId = uniqueId;
|
||||
data.entryPath = service->exec();
|
||||
data.startupNotify = service->property(QStringLiteral("StartupNotify")).toBool();
|
||||
data.startupNotify = service->startupNotify().value_or(false);
|
||||
|
||||
bool favChanged = false;
|
||||
if (location == Favorites) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue