[vlc-commits] qt: don't save SyncControls preferences

Thomas Guillem git at videolan.org
Wed May 31 17:46:00 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue May 23 19:39:35 2017 +0200| [40420584c286be33b565362e432da91f051ce932] | committer: Thomas Guillem

qt: don't save SyncControls preferences

Ref #6873

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=40420584c286be33b565362e432da91f051ce932
---

 modules/gui/qt/components/extended_panels.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/gui/qt/components/extended_panels.cpp b/modules/gui/qt/components/extended_panels.cpp
index 55620f9ce9..f6e27a67bd 100644
--- a/modules/gui/qt/components/extended_panels.cpp
+++ b/modules/gui/qt/components/extended_panels.cpp
@@ -1558,9 +1558,6 @@ void SyncControls::subsdelayClean()
 
 void SyncControls::subsdelaySetFactor( double f_factor )
 {
-    /* Set the factor in the preferences */
-    config_PutFloat( p_intf, SUBSDELAY_CFG_FACTOR, f_factor );
-
     /* Try to find an instance of subsdelay, and set its factor */
     vlc_object_t *p_obj = ( vlc_object_t * ) vlc_object_find_name( p_intf->obj.libvlc, "subsdelay" );
     if( p_obj )
@@ -1578,8 +1575,6 @@ void SyncControls::changeVFiltersString( const char *psz_name, bool b_add )
 
     QString result = ChangeFiltersString( p_intf, psz_filter_type, psz_name, b_add );
 
-    config_PutPsz( p_intf, psz_filter_type, qtu( result ) );
-
     UpdateVFiltersString( p_intf, psz_filter_type, qtu( result ) );
 }
 



More information about the vlc-commits mailing list