Commit 5dabbfb6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: simpleprefs, fix caching combobox

Fix #3085
parent 6ad8e69b
...@@ -481,11 +481,12 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -481,11 +481,12 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
if (module_exists ("livedotcom")) if (module_exists ("livedotcom"))
TestCaCi( "rtsp-caching", 4 ); TestCaCi( "rtsp-caching", 4 );
TestCaCi( "ftp-caching", 2 ); TestCaCi( "ftp-caching", 2 );
TestCaCi( "http-caching", 4 ); TestCaCi( "http-caching", 2 );
if (module_exists ("access_realrtsp")) if (module_exists ("access_realrtsp"))
TestCaCi( "realrtsp-caching", 10 ); TestCaCi( "realrtsp-caching", 10 );
TestCaCi( "mms-caching", 19 ); TestCaCi( "mms-caching", 10 );
if( b_cache_equal ) ui.cachingCombo->setCurrentIndex( if( b_cache_equal == 1 )
ui.cachingCombo->setCurrentIndex(
ui.cachingCombo->findData( QVariant( i_cache ) ) ); ui.cachingCombo->findData( QVariant( i_cache ) ) );
#undef TestCaCi #undef TestCaCi
#undef TestCaC #undef TestCaC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment