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;