mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 14:46:33 +02:00
* Brighter colors for the gradient.
This commit is contained in:
@@ -102,8 +102,8 @@ TopBar::resizeEvent(QResizeEvent* e )
|
|||||||
QWidget::resizeEvent( e );
|
QWidget::resizeEvent( e );
|
||||||
|
|
||||||
QLinearGradient gradient = QLinearGradient( contentsRect().topLeft(), contentsRect().bottomRight() );
|
QLinearGradient gradient = QLinearGradient( contentsRect().topLeft(), contentsRect().bottomRight() );
|
||||||
gradient.setColorAt( 0.0, QColor( 80, 80, 80 ) );
|
gradient.setColorAt( 0.0, QColor( 100, 100, 100 ) );
|
||||||
gradient.setColorAt( 1.0, QColor( 43, 43, 43 ) );
|
gradient.setColorAt( 1.0, QColor( 63, 63, 63 ) );
|
||||||
|
|
||||||
QPalette p = palette();
|
QPalette p = palette();
|
||||||
p.setBrush( QPalette::Background, QBrush( gradient ) );
|
p.setBrush( QPalette::Background, QBrush( gradient ) );
|
||||||
|
Reference in New Issue
Block a user