[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdebase/kicker/menuext/kdeprint
From: Laurent Montel <montel () kde ! org>
Date: 2006-02-28 22:47:56
Message-ID: 200602282347.57636.montel () kde ! org
[Download RAW message or body]
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<KMPrinter*> *l = KMManager::self()->printerList();
> - if (l && !l->isEmpty())
> + QList<KMPrinter*> l = KMManager::self()->printerList();
> + if (!l.isEmpty())
> {
> bool separatorInserted = false;
> - QListIterator<KMPrinter*> it(*l);
> - while (it.hasNext())
> + QListIterator<KMPrinter*> 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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic