mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53:09 +00:00
fix build
don't mix itarators and constIterators
This commit is contained in:
parent
ff1de461f7
commit
9e7ccaa801
1 changed files with 2 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ void ApplicationListModel::loadApplications()
|
|||
QList<ApplicationData> unorderedList;
|
||||
|
||||
// Iterate over all entries in the group
|
||||
for(KServiceGroup::List::ConstIterator it = subGroupList.begin();it != subGroupList.end(); it++) {
|
||||
for(KServiceGroup::List::ConstIterator it = subGroupList.constBegin(); it != subGroupList.constEnd(); it++) {
|
||||
KSycocaEntry::Ptr groupEntry = (*it);
|
||||
|
||||
if (groupEntry->isType(KST_KServiceGroup)) {
|
||||
|
|
@ -110,7 +110,7 @@ void ApplicationListModel::loadApplications()
|
|||
if (!serviceGroup->noDisplay()) {
|
||||
KServiceGroup::List entryGroupList = serviceGroup->entries(true);
|
||||
|
||||
for(KServiceGroup::List::ConstIterator it = entryGroupList.begin(); it != entryGroupList.end(); it++) {
|
||||
for(KServiceGroup::List::ConstIterator it = entryGroupList.constBegin(); it != entryGroupList.constEnd(); it++) {
|
||||
KSycocaEntry::Ptr entry = (*it);
|
||||
ApplicationData data;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue