[vlc-commits] Qt: fix compilation on Win32, and use a decent minimum
Jean-Baptiste Kempf
git at videolan.org
Wed Sep 7 19:59:28 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Sep 7 19:44:31 2011 +0200| [a4dd974c8a2f48bb212189146cf9105f289d9c62] | committer: Jean-Baptiste Kempf
Qt: fix compilation on Win32, and use a decent minimum
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4dd974c8a2f48bb212189146cf9105f289d9c62
---
.../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 5ef8b0f..1985a2d 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -370,7 +370,7 @@ QVariant PLModel::data( const QModelIndex &index, const int role ) const
else if( role == Qt::FontRole )
{
QFont f;
- f.setPointSize( std::max( f.pointSize() - 1 + i_zoom, 1 ) );
+ f.setPointSize( __MAX( f.pointSize() - 1 + i_zoom, 4 ) );
if( isCurrent( index ) )
f.setBold( true );
return QVariant( f );
More information about the vlc-commits
mailing list