From a4dd974c8a2f48bb212189146cf9105f289d9c62 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Wed, 7 Sep 2011 19:44:31 +0200 Subject: [PATCH] Qt: fix compilation on Win32, and use a decent minimum --- modules/gui/qt4/components/playlist/playlist_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp index 5ef8b0f6ea..1985a2d208 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 ); -- 2.39.2