]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.cpp
[Qt] Fix small glitches, issues, because of previous commits.
[vlc] / modules / gui / qt4 / components / simple_preferences.cpp
index ca1c776d51ba3102b2563b56089f45106a0d0e54..23c4bd76eadd9b25d58f4727f45360e45eeeccc9 100644 (file)
@@ -511,6 +511,14 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 #else
             ui.OneInterfaceBox->hide();
 #endif
+            /* RECENTLY PLAYED options */
+            CONNECT( ui.saveRecentlyPlayed, toggled( bool ),
+                     ui.recentlyPlayedFilters, setEnabled( bool ) );
+            ui.recentlyPlayedFilters->setEnabled( false );
+            CONFIG_GENERIC( "qt-recentplay", Bool, NULL, saveRecentlyPlayed );
+            CONFIG_GENERIC( "qt-recentplay-filter", String, NULL,
+                    recentlyPlayedFilters );
+
         END_SPREFS_CAT;
 
         START_SPREFS_CAT( Subtitles, qtr("Subtitles & On Screen Display Settings") );
@@ -643,11 +651,11 @@ void SPrefsPanel::apply()
             CaC( "tcp-caching" ); CaC( "vcd-caching" );
             CaC( "fake-caching" ); CaC( "cdda-caching" ); CaC( "file-caching" );
             CaC( "screen-caching" );
-            CaCi( "rtsp-caching", 4 ); CaCi( "ftp-caching", 2 );
-            CaCi( "http-caching", 4 );
+            CaCi( "rtsp-caching", 2 ); CaCi( "ftp-caching", 2 );
+            CaCi( "http-caching", 2 );
             if (module_exists ("access_realrtsp" ))
                 CaCi( "realrtsp-caching", 10 );
-            CaCi( "mms-caching", 19 );
+            CaCi( "mms-caching", 10 );
             #ifdef WIN32
             CaC( "dshow-caching" );
             #else