[vlc-commits] Qt4: make exit after play sticky (refs #9612)
Rémi Denis-Courmont
git at videolan.org
Mon Oct 7 17:21:20 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Oct 7 18:20:18 2013 +0300| [502931437c17d0343c2b037eeb1d81a9afa90515] | committer: Rémi Denis-Courmont
Qt4: make exit after play sticky (refs #9612)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=502931437c17d0343c2b037eeb1d81a9afa90515
---
modules/gui/qt4/input_manager.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index bd32de6..eb36084 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -1165,11 +1165,12 @@ void MainInputManager::loopRepeatLoopStatus()
void MainInputManager::activatePlayQuit( bool b_exit )
{
var_SetBool( THEPL, "play-and-exit", b_exit );
+ config_PutInt( p_intf, "play-and-exit", b_exit );
}
bool MainInputManager::getPlayExitState()
{
- return var_GetBool( THEPL, "play-and-exit" );
+ return var_InheritBool( THEPL, "play-and-exit" );
}
bool MainInputManager::hasEmptyPlaylist()
More information about the vlc-commits
mailing list