]> git.sesse.net Git - vlc/commitdiff
qt4: fix EMPTY_STR usage.
authorRémi Duraffort <ivoire@videolan.org>
Sat, 4 Apr 2009 07:14:08 +0000 (09:14 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 4 Apr 2009 07:14:08 +0000 (09:14 +0200)
modules/gui/qt4/menus.cpp

index 7ba3f3a8a7d1e432c36ae405579cde598f23f654..d18365473111accd2fb37e55120d95bba10662ba 100644 (file)
@@ -87,9 +87,9 @@ void addDPStaticEntry( QMenu *menu,
                        const char *shortcut = NULL )
 {
     QAction *action = NULL;
-    if( !EMPTY_STR( icon ) > 0 )
+    if( !EMPTY_STR( icon ) )
     {
-        if( !EMPTY_STR( shortcut ) > 0 )
+        if( !EMPTY_STR( shortcut ) )
             action = menu->addAction( QIcon( icon ), text, THEDP,
                                       member, qtr( shortcut ) );
         else
@@ -97,7 +97,7 @@ void addDPStaticEntry( QMenu *menu,
     }
     else
     {
-        if( !EMPTY_STR( shortcut ) > 0 )
+        if( !EMPTY_STR( shortcut ) )
             action = menu->addAction( text, THEDP, member, qtr( shortcut ) );
         else
             action = menu->addAction( text, THEDP, member );