1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

* Use setPixelSize instead of setPointSize. Should fix HeaderLabel weirdness on some systems.

This commit is contained in:
Christian Muehlhaeuser
2011-08-08 21:55:39 +02:00
parent 72add01e66
commit d9a4b718ed

View File

@@ -31,11 +31,7 @@ HeaderLabel::HeaderLabel( QWidget* parent )
{ {
QFont f( font() ); QFont f( font() );
f.setBold( true ); f.setBold( true );
f.setPointSize( 11 ); f.setPixelSize( 12 );
#ifdef Q_WS_MAC
f.setPointSize( f.pointSize() - 2 );
#endif
setFont( f ); setFont( f );
setFixedHeight( sizeHint().height() + 8 ); setFixedHeight( sizeHint().height() + 8 );