]> git.sesse.net Git - vlc/commit
Qt: fix sizing of the interface
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 12 Apr 2010 21:18:56 +0000 (23:18 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 12 Apr 2010 21:29:29 +0000 (23:29 +0200)
commitff812d67b245618b8dd7f896e206909f16a6e565
tree2f3ee981bd8681117b5c96e6bdd3f573ece85ce6
parentf014cdaf037082c87ff5e1ccaa91e02a98d9867b
Qt: fix sizing of the interface

Store the stackWidget sizes in a QMap and restore the size when changing.
Of course, don't restore the size, if autoresize is off.

This restores the usual behaviour of VLC to go back to compact mode
by default at the end of a video.
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.hpp