]> git.sesse.net Git - vlc/commitdiff
Qt: simpleprefs, fix caching combobox
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 17 Oct 2009 21:02:41 +0000 (23:02 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 17 Oct 2009 21:53:09 +0000 (23:53 +0200)
Fix #3085

modules/gui/qt4/components/simple_preferences.cpp

index 3ffe3b303ffe88af01037ec2469512b84f087bb5..f44f29df98a2501eac6154ee7af0d02e10a8053b 100644 (file)
@@ -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