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:
@@ -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 );
|
||||||
|
Reference in New Issue
Block a user