Commit fe147499 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: save random/loop/repeat on quit

Close #2434

Maybe this shouldn't be in the interface, but in the playlist...
parent fa94475a
......@@ -985,6 +985,10 @@ MainInputManager::~MainInputManager()
var_DelCallback( THEPL, "repeat", RepeatChanged, this );
var_DelCallback( THEPL, "loop", LoopChanged, this );
/* Save some interface state in configuration, at module quit */
config_PutInt( p_intf, "random", var_GetBool( THEPL, "random" ) );
config_PutInt( p_intf, "loop", var_GetBool( THEPL, "loop" ) );
config_PutInt( p_intf, "repeat", var_GetBool( THEPL, "repeat" ) );
}
vout_thread_t* MainInputManager::getVout()
......
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