Commit d330d07e authored by Fredrik Höglund's avatar Fredrik Höglund
Browse files

Fix a palette issue with the scrollbar.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=683973
parent 02d79936
......@@ -131,11 +131,14 @@ void TerminalDisplay::setColorTable(const ColorEntry table[])
for (int i = 0; i < TABLE_COLORS; i++)
_colorTable[i] = table[i];
QPalette p = palette();
p.setColor( backgroundRole(), _colorTable[DEFAULT_BACK_COLOR].color );
setPalette( p );
// We don't want the palette change to propagate to the scrollbar
_scrollBar->setPalette( QApplication::palette() );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment