use correct palette for rendering window border

svn path=/trunk/KDE/kdebase/workspace/; revision=1021620
This commit is contained in:
Hugo Pereira Da Costa 2009-09-09 17:00:50 +00:00
parent 4e60677a84
commit 9e1f8372d1

View file

@ -146,7 +146,7 @@ namespace Nitrogen
client_.renderWindowBackground( &painter, rect(), this, palette );
if( client_.isActive() && client_.configuration().drawTitleOutline() && !client_.isMaximized() )
{ client_.renderWindowBorder( &painter, rect(), this, palette ); }
{ client_.renderWindowBorder( &painter, rect(), this, client_.backgroundPalette( this, palette ) ); }
// draw dividing line
painter.setRenderHints(QPainter::Antialiasing);