Commit 8526b9a3 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Qt4: return fontrole for all items

By default use defaultsize (from theme/system) - 2 points.
parent c07dca23
......@@ -352,10 +352,11 @@ QVariant PLModel::data( const QModelIndex &index, const int role ) const
}
else if( role == Qt::FontRole )
{
QFont f;
f.setPointSize( f.pointSize() - 2 );
if( isCurrent( index ) )
{
QFont f; f.setBold( true ); return QVariant( f );
}
f.setBold( true );
return QVariant( f );
}
else if( role == Qt::BackgroundRole && isCurrent( index ) )
{
......
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