[vlc-devel] commit: QT4: set rowUniformHeights to true on playlistview (Ilkka Ollakka )

git version control git at videolan.org
Mon Aug 3 12:21:03 CEST 2009


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Aug  3 10:33:18 2009 +0300| [7d5e66db9492e7511c72c2935efc0da25fe55de4] | committer: Ilkka Ollakka 

QT4: set rowUniformHeights to true on playlistview

according to doc, thisway view should be able to do some optimisation
over itself, and I didn't figure out anycase that rows wouldn't be same
height on playlist.

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

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

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index 43b656d..34c73d6 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -71,6 +71,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
     view->setAcceptDrops( true );
     view->setDropIndicatorShown( true );
     view->header()->setSortIndicator( -1 , Qt::AscendingOrder );
+    view->setUniformRowHeights( true );
     view->setSortingEnabled( true );
 
 




More information about the vlc-devel mailing list