1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

* Fixed cut-off text in WelcomeWidget on non-OSX.

This commit is contained in:
Christian Muehlhaeuser
2011-08-14 00:54:38 +02:00
parent 4732db07d1
commit 65835fc2b2

View File

@@ -256,9 +256,7 @@ PlaylistDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
QColor c = painter->pen().color(); QColor c = painter->pen().color();
painter->setPen( QColor( Qt::gray ).darker() ); painter->setPen( QColor( Qt::gray ).darker() );
QFont font2 = font; QFont font2 = font;
#ifdef Q_OS_MAC
font2.setPointSize( font2.pointSize() - 1 ); font2.setPointSize( font2.pointSize() - 1 );
#endif
painter->setFont( font2 ); painter->setFont( font2 );
QRect rectText = option.rect.adjusted( 66, 20, -100, -8 ); QRect rectText = option.rect.adjusted( 66, 20, -100, -8 );