mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
crash--
This commit is contained in:
parent
e0b9dc2142
commit
6a22d1e3f6
1 changed files with 3 additions and 0 deletions
|
|
@ -81,6 +81,9 @@ void ApplicationListModel::loadApplications()
|
|||
KService::Ptr service(static_cast<KService* >(entry.data()));
|
||||
if (service->isApplication()) {
|
||||
KPluginInfo plugin(service);
|
||||
if (!plugin.isValid()) {
|
||||
continue;
|
||||
}
|
||||
data.name = plugin.name();
|
||||
data.icon = plugin.icon();
|
||||
data.storageId = service->storageId();
|
||||
|
|
|
|||
Loading…
Reference in a new issue