]> git.sesse.net Git - vlc/commitdiff
Qt: win32 warning killing
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 May 2011 13:14:11 +0000 (15:14 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 May 2011 13:34:53 +0000 (15:34 +0200)
modules/gui/qt4/components/open_panels.cpp

index 9abc56d37edeb3bb6b82838a863447bce85808c8..bbff73d5f9a70acbe05b95db11493dbf36633e74 100644 (file)
@@ -350,7 +350,7 @@ DiscOpenPanel::DiscOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
                 GetVolumeInformationW( drive, psz_name, 511, NULL, NULL, NULL, NULL, 0 );
 
                 QString displayName = FromWide( drive );
-                if( !EMPTY_STR(psz_name) ) {
+                if( !*psz_name ) {
                     displayName = displayName + " - "  + FromWide( psz_name );
                 }