[vlc-devel] commit: Qt: Fix audio options in SPref (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Jan 2 00:06:34 CET 2010


vlc-1.0-bugfix | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan  2 00:05:58 2010 +0100| [10b967c023da50b116d6539cf55453508d01411a] | committer: Jean-Baptiste Kempf 

Qt: Fix audio options in SPref

Directx device. Manual backport of bc8ee31f30c51821529af6403e7929f2df2f5487

> http://git.videolan.org/gitweb.cgi/vlc-1.0-bugfix.git/?a=commit;h=10b967c023da50b116d6539cf55453508d01411a
---

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

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 7e7cd39..c41e33b 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -618,7 +618,7 @@ void SPrefsPanel::updateAudioOptions( int number)
     QString value = qobject_cast<QComboBox *>(optionWidgets[audioOutCoB])
                                             ->itemData( number ).toString();
 #ifdef WIN32
-    optionWidgets[directxW]->setVisible( ( value == "directx" ) );
+    optionWidgets[directxW]->setVisible( ( value == "aout_directx" ) );
 #else
     /* optionWidgets[ossW] can be NULL */
     if( optionWidgets[ossW] )




More information about the vlc-devel mailing list