1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 16:29:43 +01:00

* Try to fix OS X painting glitch.

This commit is contained in:
Christian Muehlhaeuser 2011-08-13 04:23:37 +02:00
parent aa68229ac6
commit f15dd8153f

View File

@ -80,11 +80,13 @@ ProxyStyle::drawControl( ControlElement ce, const QStyleOption* opt, QPainter* p
p->setPen( QColor( 0x8c, 0x8c, 0x8c ) );
p->drawLine( opt->rect.topLeft(), opt->rect.bottomRight() );
}
#ifndef Q_WS_MAC
else
{
p->setPen( QColor( 0xff, 0xff, 0xff ) );
p->drawLine( opt->rect.topLeft(), opt->rect.bottomRight() );
}
#endif
}
else
QProxyStyle::drawControl( ce, opt, p, w );