1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-13 04:21:51 +02:00

* Unbreak SlideSwitchButton.

This commit is contained in:
Christian Muehlhaeuser 2013-04-29 19:24:04 +02:00
parent f99cfb8e66
commit 6b27e2ad4e

View File

@ -180,8 +180,8 @@ SlideSwitchButton::paintEvent( QPaintEvent* event )
QLinearGradient gradient( 0, 0, 0, 1 );
gradient.setCoordinateMode( QGradient::ObjectBoundingMode );
gradient.setColorAt( 0, TomahawkStyle::SLIDESWITCH_UNCHECKED_TOP );
gradient.setColorAt( 1, TomahawkStyle::SLIDESWITCH_UNCHECKED_BOTTOM );
gradient.setColorAt( 0, m_baseColorTop );
gradient.setColorAt( 1, m_baseColorBottom );
painter.setBrush( gradient );
QPainterPath borderPath;