Commit 50293143 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: make exit after play sticky (refs #9612)

parent 82451e17
...@@ -1165,11 +1165,12 @@ void MainInputManager::loopRepeatLoopStatus() ...@@ -1165,11 +1165,12 @@ void MainInputManager::loopRepeatLoopStatus()
void MainInputManager::activatePlayQuit( bool b_exit ) void MainInputManager::activatePlayQuit( bool b_exit )
{ {
var_SetBool( THEPL, "play-and-exit", b_exit ); var_SetBool( THEPL, "play-and-exit", b_exit );
config_PutInt( p_intf, "play-and-exit", b_exit );
} }
bool MainInputManager::getPlayExitState() bool MainInputManager::getPlayExitState()
{ {
return var_GetBool( THEPL, "play-and-exit" ); return var_InheritBool( THEPL, "play-and-exit" );
} }
bool MainInputManager::hasEmptyPlaylist() bool MainInputManager::hasEmptyPlaylist()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment