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

List:       kde-commits
Subject:    KDE/kdepim/kontact/src
From:       Laurent Montel <montel () kde ! org>
Date:       2009-03-25 10:28:11
Message-ID: 1237976891.936289.23452.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 944217 by mlaurent:

Minor


 M  +2 -2      mainwindow.cpp  


--- trunk/KDE/kdepim/kontact/src/mainwindow.cpp #944216:944217
@@ -811,12 +811,12 @@
     mCurrentPlugin = plugin;
 
     QAction *newAction = 0;
-    if ( plugin->newActions()->count() > 0 ) {
+    if ( !plugin->newActions()->isEmpty() ) {
       newAction = plugin->newActions()->first();
     }
 
     QAction *syncAction = 0;
-    if ( plugin->syncActions()->count() > 0 ) {
+    if ( !plugin->syncActions()->isEmpty() ) {
       syncAction = plugin->syncActions()->first();
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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