[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/kicker/menuext/kdeprint
From:       André Wöbbeking <Woebbeking () web ! de>
Date:       2006-02-28 22:38:38
Message-ID: 1141166318.708360.21604.nullmailer () svn ! kde ! org
[Download RAW message or body]

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<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