[vlc-commits] commit: Revert "Qt: save volume on exit" ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Thu Jul 29 21:35:13 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 29 22:35:07 2010 +0300| [12e711eb3992fc269d47b86004dfd3775fd5e900] | committer: Rémi Denis-Courmont
Revert "Qt: save volume on exit"
This reverts commit 47e8817acdc58829acfbf5d02913007164b0a0bf.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=12e711eb3992fc269d47b86004dfd3775fd5e900
---
modules/gui/qt4/qt4.cpp | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index c50327d..d689c4a 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -507,17 +507,6 @@ static void *Thread( void *obj )
/* Save the path */
getSettings()->setValue( "filedialog-path", p_intf->p_sys->filepath );
- /* Save volume on exit */
- audio_volume_t i_volume;
- module_config_t *volconf;
- if ( var_InheritBool( p_intf, "qt-autosave-volume" ) )
- aout_VolumeGet( p_intf, &i_volume );
- else
- i_volume = config_GetInt( p_intf, "qt-startvolume" );
- config_PutInt( p_intf, "volume", i_volume );
- volconf = config_FindConfig( VLC_OBJECT(p_intf), "volume" );
- if ( volconf ) volconf->b_autosave = true;
-
/* Delete the configuration. Application has to be deleted after that. */
delete p_intf->p_sys->mainSettings;
More information about the vlc-commits
mailing list