From f15dd8153fd0f6536ea790d79bd09146534c32cf Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 13 Aug 2011 04:23:37 +0200 Subject: [PATCH] * Try to fix OS X painting glitch. --- src/libtomahawk/utils/proxystyle.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/utils/proxystyle.cpp b/src/libtomahawk/utils/proxystyle.cpp index cba2b80ac..0c1bf1dc0 100644 --- a/src/libtomahawk/utils/proxystyle.cpp +++ b/src/libtomahawk/utils/proxystyle.cpp @@ -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 );