[vlc-devel] [PATCHv2 17/18] qt: don't save SyncControls preferences

Thomas Guillem thomas at gllm.fr
Tue May 30 18:41:07 CEST 2017


Ref #6873
---
 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 a1dcb9797f..d7cda2d7f5 100644
--- a/modules/gui/qt/components/extended_panels.cpp
+++ b/modules/gui/qt/components/extended_panels.cpp
@@ -1567,9 +1567,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 )
@@ -1587,8 +1584,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 ) );
 }
 
-- 
2.11.0



More information about the vlc-devel mailing list