mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-13 20:41:58 +02:00
Fix gradient in InfoBar.
This commit is contained in:
parent
e5fcd077eb
commit
1098294b03
@ -294,7 +294,7 @@ InfoBar::paintEvent( QPaintEvent* event )
|
||||
QLinearGradient gradient( QPoint( 0, 0 ), QPoint( 0, 1 ) );
|
||||
gradient.setCoordinateMode( QGradient::ObjectBoundingMode );
|
||||
gradient.setColorAt( 0.0, TomahawkStyle::HEADER_LOWER );
|
||||
gradient.setColorAt( 1.0, TomahawkStyle::HEADER_LOWER );
|
||||
gradient.setColorAt( 1.0, TomahawkStyle::HEADER_UPPER );
|
||||
|
||||
painter.setBrush( gradient );
|
||||
painter.fillRect( rect(), gradient );
|
||||
|
Loading…
x
Reference in New Issue
Block a user