[vlc-commits] commit: Qt: fix sizing of the interface (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Mon Apr 12 23:29:11 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Apr 12 23:18:56 2010 +0200| [ff812d67b245618b8dd7f896e206909f16a6e565] | committer: Jean-Baptiste Kempf 

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff812d67b245618b8dd7f896e206909f16a6e565
---

 modules/gui/qt4/main_interface.cpp |  105 +++++++++++++++---------------------
 modules/gui/qt4/main_interface.hpp |   17 +++---
 2 files changed, 52 insertions(+), 70 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=ff812d67b245618b8dd7f896e206909f16a6e565


More information about the vlc-commits mailing list