mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Fix variable scope
This commit is contained in:
parent
a1ab2d2dbd
commit
9856de8e90
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,6 @@ void ApplicationListModel::loadApplications()
|
|||
|
||||
for(KServiceGroup::List::ConstIterator it = entryGroupList.constBegin(); it != entryGroupList.constEnd(); it++) {
|
||||
KSycocaEntry::Ptr entry = (*it);
|
||||
ApplicationData data;
|
||||
|
||||
if (entry->isType(KST_KServiceGroup)) {
|
||||
KServiceGroup::Ptr serviceGroup(static_cast<KServiceGroup* >(entry.data()));
|
||||
|
|
@ -131,6 +130,7 @@ void ApplicationListModel::loadApplications()
|
|||
|
||||
bl << service->desktopEntryName();
|
||||
|
||||
ApplicationData data;
|
||||
data.name = service->name();
|
||||
data.icon = service->icon();
|
||||
data.storageId = service->storageId();
|
||||
|
|
|
|||
Loading…
Reference in a new issue