From 7f463c4918fb17c81ca677a30e72280b132ca1c9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 14 May 2011 15:14:11 +0200 Subject: [PATCH] Qt: win32 warning killing --- modules/gui/qt4/components/open_panels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index 9abc56d37e..bbff73d5f9 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 ); } -- 2.39.2