From kde-commits Tue Feb 28 22:38:38 2006 From: =?utf-8?q?Andr=C3=A9=20W=C3=B6bbeking?= Date: Tue, 28 Feb 2006 22:38:38 +0000 To: kde-commits Subject: KDE/kdebase/kicker/menuext/kdeprint Message-Id: <1141166318.708360.21604.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=114123706922899 SVN commit 514649 by woebbe: make it compile 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;