kdecore: fix dumpOfferList() function

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-19 01:05:57 +03:00
parent ec505df46a
commit 021310ba3d

View file

@ -74,8 +74,8 @@ void KServiceTypeTrader::applyConstraints( KService::List& lst,
static void dumpOfferList( const KServiceOfferList& offers )
{
kDebug(7014) << "Sorted list:";
OfferList::Iterator itOff = offers.begin();
for( ; itOff != offers.end(); ++itOff )
KServiceOfferList::ConstIterator itOff = offers.constBegin();
for( ; itOff != offers.constEnd(); ++itOff )
kDebug(7014) << (*itOff).service()->name() << " allow-as-default=" << (*itOff).allowAsDefault() << " preference=" << (*itOff).preference();
}
#endif