Commit 4d4dd098 authored by Jakob Leben's avatar Jakob Leben

Qt: end settings group earlier so other settings have effect

parent b2b38e5e
...@@ -270,11 +270,14 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) ...@@ -270,11 +270,14 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
} }
msg_Dbg( p_intf, "%i", stackCentralOldState ); msg_Dbg( p_intf, "%i", stackCentralOldState );
/* Playlist */ /* Playlist */
if( settings->value( "playlist-visible", 0 ).toInt() ) int i_plVis = settings->value( "playlist-visible", 0 ).toInt();
togglePlaylist();
settings->endGroup(); settings->endGroup();
if( i_plVis ) togglePlaylist();
/* Final sizing and showing */ /* Final sizing and showing */
setVisible( !b_hideAfterCreation ); setVisible( !b_hideAfterCreation );
//setMinimumSize( QSize( 0, 0 ) ); //setMinimumSize( QSize( 0, 0 ) );
......
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