[vlc-commits] Qt: make playlist font less small by default

Jean-Baptiste Kempf git at videolan.org
Sun Jan 29 23:47:44 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jan 29 23:47:36 2012 +0100| [987c2953afaed2217e012ba02e3221b7d2963d27] | committer: Jean-Baptiste Kempf

Qt: make playlist font less small by default

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

 .../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 a248ed3..f17e7e3 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