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:
parent
aa68229ac6
commit
f15dd8153f
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user