[vlc-commits] Qt: win32 warning killing

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


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

Qt: win32 warning killing

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

 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