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

List:       kde-commits
Subject:    playground/pim/mailody/src
From:       Frode M. Døving <frode () lnix ! net>
Date:       2007-03-20 20:42:11
Message-ID: 1174423331.819662.707.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 644747 by fdoving:

Cleanup and crashfix.


 M  +3 -3      mainwindow.cpp  


--- trunk/playground/pim/mailody/src/mainwindow.cpp #644746:644747
@@ -2034,7 +2034,7 @@
         }
 
         QStringList* list = msg->to_list();
-        if (list->count())
+        if (!list->isEmpty())
         {
             QStringList::Iterator it=list->begin();
             for(; it!=list->end(); ++it)
@@ -2046,7 +2046,7 @@
         }
 
         list  = msg->cc_list();
-        if (list->count())
+        if (!list->isEmpty())
         {
             QStringList::Iterator it=list->begin();
             for(; it!=list->end(); ++it)
@@ -2105,7 +2105,7 @@
     }
 
     // still nothing???
-    if (!values.count())
+    if (values.isEmpty())
     {
         // change after messagefreeze
         int i = am->popupMenu()->insertItem(i18n("None"));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic