Diffstat (limited to 'noncore/styles/liquid/liquiddeco.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/styles/liquid/liquiddeco.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/noncore/styles/liquid/liquiddeco.cpp b/noncore/styles/liquid/liquiddeco.cpp index 8eee1b1..5488c67 100644 --- a/noncore/styles/liquid/liquiddeco.cpp +++ b/noncore/styles/liquid/liquiddeco.cpp @@ -99,10 +99,4 @@ void LiquidDecoration::paint( QPainter *painter, const QWidget *widget ) if ( titleWidth > 0 ) { - QBrush titleBrush; - QPen titlePen; - QPen titleLines; - int titleLeft = titleHeight + 4; - - titleLeft = rect.left() + 5; painter->setPen( cg.midlight() ); painter->drawLine( rect.left() - BORDER_WIDTH + 2, @@ -125,5 +119,5 @@ void LiquidDecoration::paint( QPainter *painter, const QWidget *widget ) QColor textcol = cg.color( isActive ? QColorGroup::HighlightedText : QColorGroup::Text ); - QColor shadecol = ( qGray ( textcol. rgb ( ) ) > 128 ) ? textcol. dark ( 130 ) : textcol.light( 200 ); + QColor shadecol = ( qGray ( textcol. rgb ( ) ) > 128 ) ? textcol. dark ( 230 ) : textcol.light( 300 ); if ( textcol == shadecol ) { |