[vlc-devel] commit: Don't resize when you toggle playlist if undocked. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Aug 26 17:25:26 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug 25 18:27:12 2008 -0700| [10e83250c5a766b43066bfd3403b2b0d64953f3f] | committer: Jean-Baptiste Kempf 

Don't resize when you toggle playlist if undocked.

First, this is useless, then, it is stupid, and finally, it will resize your
video if your resized it by hand. (However, this reveals a bigger bug in the
 VideoWidget ) This is NOT critical, but this is not really good.

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

 modules/gui/qt4/main_interface.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 84a1883..bf1df04 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -765,7 +765,7 @@ void MainInterface::togglePlaylist()
     {
     /* toggle the visibility of the playlist */
        TOGGLEV( playlistWidget );
-       resize( sizeHint() );
+       //resize( sizeHint() );
        playlistVisible = !playlistVisible;
     }
 }




More information about the vlc-devel mailing list