set WA_NoSystemBackground flag and removed (useless) setting of WA_OpaquePaintEvent flag

svn path=/trunk/KDE/kdebase/workspace/; revision=1017186
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-08-29 21:37:08 +00:00
parent 2c181abd37
commit 906503c2f2
2 changed files with 1 additions and 2 deletions

View File

@ -50,7 +50,7 @@ namespace Nitrogen
colorCacheInvalid_(true) colorCacheInvalid_(true)
{ {
setAutoFillBackground(false); setAutoFillBackground(false);
setAttribute(Qt::WA_OpaquePaintEvent, false); setAttribute(Qt::WA_NoSystemBackground);
{ {
unsigned int size( client_.configuration().buttonSize() ); unsigned int size( client_.configuration().buttonSize() );

View File

@ -95,7 +95,6 @@ namespace Nitrogen
KCommonDecoration::init(); KCommonDecoration::init();
widget()->setAttribute(Qt::WA_NoSystemBackground ); widget()->setAttribute(Qt::WA_NoSystemBackground );
widget()->setAttribute( Qt::WA_OpaquePaintEvent );
widget()->setAutoFillBackground( false ); widget()->setAutoFillBackground( false );
initialized_ = true; initialized_ = true;