From kde-commits Tue Feb 28 22:47:56 2006 From: Laurent Montel Date: Tue, 28 Feb 2006 22:47:56 +0000 To: kde-commits Subject: Re: KDE/kdebase/kicker/menuext/kdeprint Message-Id: <200602282347.57636.montel () kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=114119260709374 On Tuesday 28 February 2006 23:38, André Wöbbeking wrote: > SVN commit 514649 by woebbe: > > make it compile Please use kdelibs-snaphot and not trunk. Could you reverse it please ? > M +5 -5 print_mnu.cpp > > > --- trunk/KDE/kdebase/kicker/menuext/kdeprint/print_mnu.cpp #514648:514649 > @@ -78,14 +78,14 @@ > insertItem(SmallIconSet("fileprint"), i18n("Print File..."), > KPRINTER_ID); > > // printer list > - QList *l = KMManager::self()->printerList(); > - if (l && !l->isEmpty()) > + QList l = KMManager::self()->printerList(); > + if (!l.isEmpty()) > { > bool separatorInserted = false; > - QListIterator it(*l); > - while (it.hasNext()) > + QListIterator it(l); > + while (it.hasNext()) > { > - KMPrinter *itprt = it.next(); > + KMPrinter *itprt = it.next(); > // no special, implicit or pure instances > if (itprt->isSpecial() || itprt->isVirtual()) > continue;