From 665bbd422de9176835281f15bcbfe800b127282a Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 12 Aug 2014 20:16:41 +0200 Subject: [PATCH] * Thinner looking splitter handle. --- src/libtomahawk/utils/ProxyStyle.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libtomahawk/utils/ProxyStyle.cpp b/src/libtomahawk/utils/ProxyStyle.cpp index d0604e684..04f98036c 100644 --- a/src/libtomahawk/utils/ProxyStyle.cpp +++ b/src/libtomahawk/utils/ProxyStyle.cpp @@ -100,16 +100,16 @@ ProxyStyle::drawControl( ControlElement ce, const QStyleOption* opt, QPainter* p { if ( splitter->handleWidth() == 1 ) { - p->setPen( TomahawkStyle::BORDER_LINE ); + p->setPen( Qt::black ); + p->setOpacity( 0.05 ); p->drawLine( opt->rect.topLeft(), opt->rect.bottomLeft() ); } else if ( splitter->handleWidth() == 3 ) { - p->setPen( TomahawkStyle::BORDER_LINE ); + p->setPen( Qt::black ); + p->setOpacity( 0.05 ); p->drawLine( opt->rect.topLeft(), opt->rect.bottomLeft() ); - p->setPen( TomahawkStyle::BORDER_LINE.darker() ); p->drawLine( opt->rect.topLeft() + QPoint( 1, 0 ), opt->rect.bottomLeft() + QPoint( 1, 0 ) ); - p->setPen( TomahawkStyle::BORDER_LINE ); p->drawLine( opt->rect.topLeft() + QPoint( 2, 0 ), opt->rect.bottomLeft() + QPoint( 2, 0 ) ); } }