[vlc-devel] commit: Qt4: small Volume, align at first show (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Sep 27 22:10:10 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Sep 27 22:09:52 2009 +0200| [88dd6369688bff796321d5692d068061e22ac2af] | committer: Jean-Baptiste Kempf 

Qt4: small Volume, align at first show

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

 modules/gui/qt4/components/controller_widget.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/controller_widget.cpp b/modules/gui/qt4/components/controller_widget.cpp
index 0111aca..d6916ba 100644
--- a/modules/gui/qt4/components/controller_widget.cpp
+++ b/modules/gui/qt4/components/controller_widget.cpp
@@ -173,6 +173,7 @@ void SoundWidget::updateVolume()
 
 void SoundWidget::showVolumeMenu( QPoint pos )
 {
+    volumeMenu->setFixedHeight( volumeMenu->sizeHint().height() );
     volumeMenu->exec( QCursor::pos() - pos - QPoint( 0, volumeMenu->height()/2 )
                           + QPoint( width(), height() /2) );
 }




More information about the vlc-devel mailing list