mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Enforce point size on standard sidebar items.
This commit is contained in:
@@ -167,6 +167,7 @@ SourceDelegate::paintStandardItem( QPainter* painter, const QStyleOptionViewItem
|
|||||||
{
|
{
|
||||||
QFont f = painter->font();
|
QFont f = painter->font();
|
||||||
f.setBold( true );
|
f.setBold( true );
|
||||||
|
f.setPointSize( 10 );
|
||||||
painter->setFont( f );
|
painter->setFont( f );
|
||||||
painter->setPen( Qt::black );
|
painter->setPen( Qt::black );
|
||||||
// opt.palette.setColor( QPalette::Text, option.palette.color( QPalette::HighlightedText ) );
|
// opt.palette.setColor( QPalette::Text, option.palette.color( QPalette::HighlightedText ) );
|
||||||
|
Reference in New Issue
Block a user