Commit 76edc14f authored by Christophe Mutricy's avatar Christophe Mutricy

Avoid segfault

parent 8faacddb
...@@ -304,7 +304,8 @@ MainInterface::~MainInterface() ...@@ -304,7 +304,8 @@ MainInterface::~MainInterface()
settings->setValue( "playlist-floats", dockPL->isFloating() ); settings->setValue( "playlist-floats", dockPL->isFloating() );
settings->setValue( "adv-controls", getControlsVisibilityStatus() & CONTROLS_ADVANCED ); settings->setValue( "adv-controls", getControlsVisibilityStatus() & CONTROLS_ADVANCED );
settings->setValue( "pos", pos() ); settings->setValue( "pos", pos() );
playlistWidget->saveSettings( settings ); if( playlistWidget )
playlistWidget->saveSettings( settings );
settings->endGroup(); settings->endGroup();
delete settings; delete settings;
p_intf->b_interaction = VLC_FALSE; p_intf->b_interaction = VLC_FALSE;
......
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