From 9e1f8372d18713b00c9d24dc5ae21407dceaee8c Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Wed, 9 Sep 2009 17:00:50 +0000 Subject: [PATCH] use correct palette for rendering window border svn path=/trunk/KDE/kdebase/workspace/; revision=1021620 --- clients/nitrogen/nitrogenbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/nitrogen/nitrogenbutton.cpp b/clients/nitrogen/nitrogenbutton.cpp index 190782607d..3e56762316 100644 --- a/clients/nitrogen/nitrogenbutton.cpp +++ b/clients/nitrogen/nitrogenbutton.cpp @@ -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);