[vlc-commits] Qt: make playlist font less small by default
Jean-Baptiste Kempf
git at videolan.org
Sun Jan 29 23:49:26 CET 2012
vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jan 29 23:47:36 2012 +0100| [e5371ce2a380d8c3ac74fb3b640970bd43fa46d2] | committer: Jean-Baptiste Kempf
Qt: make playlist font less small by default
(cherry picked from commit 987c2953afaed2217e012ba02e3221b7d2963d27)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=e5371ce2a380d8c3ac74fb3b640970bd43fa46d2
---
.../gui/qt4/components/playlist/playlist_model.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 1debc1d..3628456 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -372,7 +372,7 @@ QVariant PLModel::data( const QModelIndex &index, const int role ) const
else if( role == Qt::FontRole )
{
QFont f;
- f.setPointSize( __MAX( f.pointSize() - 1 + i_zoom, 4 ) );
+ f.setPointSize( __MAX( f.pointSize() + i_zoom, 4 ) );
if( isCurrent( index ) )
f.setBold( true );
return QVariant( f );
More information about the vlc-commits
mailing list