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(); }