[vlc-commits] Qt: win32 warning killing

Jean-Baptiste Kempf git at videolan.org
Sat May 14 15:35:51 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 14 15:14:11 2011 +0200| [7f463c4918fb17c81ca677a30e72280b132ca1c9] | committer: Jean-Baptiste Kempf

Qt: win32 warning killing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f463c4918fb17c81ca677a30e72280b132ca1c9
---

 modules/gui/qt4/components/open_panels.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 9abc56d..bbff73d 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -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 );
                 }
 



More information about the vlc-commits mailing list