Commit 78460fd6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - remember the position on close and open in the same position.

Reference #1374
parent 2e8f9571
...@@ -282,8 +282,11 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) ...@@ -282,8 +282,11 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
CONNECT( controls, advancedControlsToggled( bool ), CONNECT( controls, advancedControlsToggled( bool ),
this, doComponentsUpdate() ); this, doComponentsUpdate() );
move( settings->value( "pos", QPoint( 0, 0 ) ).toPoint() );
resize( settings->value( "size", QSize( 350, 60 ) ).toSize() ); resize( settings->value( "size", QSize( 350, 60 ) ).toSize() );
updateGeometry(); updateGeometry();
settings->endGroup(); settings->endGroup();
} }
......
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