Qt4 - remember the position on close and open in the same position.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 18 Dec 2007 04:28:14 +0000 (04:28 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 18 Dec 2007 04:28:14 +0000 (04:28 +0000)
Reference #1374

modules/gui/qt4/main_interface.cpp

index 0271969..185fecc 100644 (file)
@@ -282,8 +282,11 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     CONNECT( controls, advancedControlsToggled( bool ),
              this, doComponentsUpdate() );
 
+    move( settings->value( "pos", QPoint( 0, 0 ) ).toPoint() );
+
     resize( settings->value( "size", QSize( 350, 60 ) ).toSize() );
     updateGeometry();
+
     settings->endGroup();
 }