mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
* Use setPixelSize instead of setPointSize. Should fix HeaderLabel weirdness on some systems.
This commit is contained in:
@@ -31,11 +31,7 @@ HeaderLabel::HeaderLabel( QWidget* parent )
|
||||
{
|
||||
QFont f( font() );
|
||||
f.setBold( true );
|
||||
f.setPointSize( 11 );
|
||||
|
||||
#ifdef Q_WS_MAC
|
||||
f.setPointSize( f.pointSize() - 2 );
|
||||
#endif
|
||||
f.setPixelSize( 12 );
|
||||
|
||||
setFont( f );
|
||||
setFixedHeight( sizeHint().height() + 8 );
|
||||
|
Reference in New Issue
Block a user