diff --git a/kstyle/breezehelper.cpp b/kstyle/breezehelper.cpp index d00393de..b83be653 100644 --- a/kstyle/breezehelper.cpp +++ b/kstyle/breezehelper.cpp @@ -120,8 +120,17 @@ namespace Breeze QPalette Helper::sideViewPalette( const QPalette& palette ) const { QPalette copy( palette ); + + // alter highlighted text color copy.setColor( QPalette::Active, QPalette::HighlightedText, palette.color( QPalette::Active, QPalette::Highlight ) ); copy.setColor( QPalette::Inactive, QPalette::HighlightedText, palette.color( QPalette::Active, QPalette::Highlight ) ); + + // alter default text color + copy.setColor( QPalette::Disabled, QPalette::Text, palette.color( QPalette::Disabled, QPalette::WindowText ) ); + copy.setColor( QPalette::Active, QPalette::Text, palette.color( QPalette::Active, QPalette::WindowText ) ); + copy.setColor( QPalette::Inactive, QPalette::Text, palette.color( QPalette::Inactive, QPalette::WindowText ) ); + + return copy; }