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

Avoid segfault

parent 8faacddb
...@@ -304,6 +304,7 @@ MainInterface::~MainInterface() ...@@ -304,6 +304,7 @@ 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() );
if( playlistWidget )
playlistWidget->saveSettings( settings ); playlistWidget->saveSettings( settings );
settings->endGroup(); settings->endGroup();
delete settings; delete settings;
......
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