Commit a4dd974c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix compilation on Win32, and use a decent minimum

parent b15a34c4
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment