git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e8f957
)
Qt4 - remember the position on close and open in the same position.
author
Jean-Baptiste Kempf
<jb@videolan.org>
Tue, 18 Dec 2007 04:28:14 +0000
(
04:28
+0000)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Tue, 18 Dec 2007 04:28:14 +0000
(
04:28
+0000)
Reference #1374
modules/gui/qt4/main_interface.cpp
patch
|
blob
|
history
diff --git
a/modules/gui/qt4/main_interface.cpp
b/modules/gui/qt4/main_interface.cpp
index
0271969
..
185fecc
100644
(file)
--- a/
modules/gui/qt4/main_interface.cpp
+++ b/
modules/gui/qt4/main_interface.cpp
@@
-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();
}