From 914446b99d5f92746a5e09798b8342f6987ab3af Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 5 Jan 2008 05:58:15 +0000 Subject: [PATCH] Qt4 - Try to fix some crash on Windows. --- modules/gui/qt4/components/simple_preferences.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index f4bf0a4606..7611b4b820 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -294,7 +294,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, /* Disk Devices */ { ui.DVDDevice->setToolTip( - //BUG: make this sentence understandable + //TODO: make this sentence understandable qtr( "If this property is blank, then you have\n" "values for DVD, VCD, and CDDA.\n" "You can define a unique one or set that in" @@ -302,8 +302,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, char *psz_dvddiscpath = config_GetPsz( p_intf, "dvd" ); char *psz_vcddiscpath = config_GetPsz( p_intf, "vcd" ); char *psz_cddadiscpath = config_GetPsz( p_intf, "cd-audio" ); - if( ( *psz_cddadiscpath == *psz_dvddiscpath ) - && ( *psz_dvddiscpath == *psz_vcddiscpath ) ) + if( !strcmp( psz_cddadiscpath, psz_dvddiscpath ) && + !strcmp( psz_dvddiscpath, psz_vcddiscpath ) ) { ui.DVDDevice->setText( qfu( psz_dvddiscpath ) ); } -- 2.39.5