[vlc-devel] commit: Qt: simpleprefs, fix caching combobox (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Oct 17 23:53:21 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Oct 17 23:02:41 2009 +0200| [5dabbfb6d4869aef0abfcf452a537732e3d73ea5] | committer: Jean-Baptiste Kempf
Qt: simpleprefs, fix caching combobox
Fix #3085
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5dabbfb6d4869aef0abfcf452a537732e3d73ea5
---
modules/gui/qt4/components/simple_preferences.cpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 3ffe3b3..f44f29d 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -481,11 +481,12 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
if (module_exists ("livedotcom"))
TestCaCi( "rtsp-caching", 4 );
TestCaCi( "ftp-caching", 2 );
- TestCaCi( "http-caching", 4 );
+ TestCaCi( "http-caching", 2 );
if (module_exists ("access_realrtsp"))
TestCaCi( "realrtsp-caching", 10 );
- TestCaCi( "mms-caching", 19 );
- if( b_cache_equal ) ui.cachingCombo->setCurrentIndex(
+ TestCaCi( "mms-caching", 10 );
+ if( b_cache_equal == 1 )
+ ui.cachingCombo->setCurrentIndex(
ui.cachingCombo->findData( QVariant( i_cache ) ) );
#undef TestCaCi
#undef TestCaC
More information about the vlc-devel
mailing list