diff --git a/containments/homescreens/folio/plugin/applicationlistmodel.cpp b/containments/homescreens/folio/plugin/applicationlistmodel.cpp index eee16029..c66b1882 100644 --- a/containments/homescreens/folio/plugin/applicationlistmodel.cpp +++ b/containments/homescreens/folio/plugin/applicationlistmodel.cpp @@ -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; } diff --git a/containments/homescreens/folio/plugin/desktopmodel.cpp b/containments/homescreens/folio/plugin/desktopmodel.cpp index 65c6ffc2..20427187 100644 --- a/containments/homescreens/folio/plugin/desktopmodel.cpp +++ b/containments/homescreens/folio/plugin/desktopmodel.cpp @@ -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) {