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

svn path=/trunk/KDE/kdebase/workspace/; revision=1017186
remotes/origin/Plasma/5.0
Hugo Pereira Da Costa 17 years ago
parent 2c181abd37
commit 906503c2f2
  1. 2
      clients/nitrogen/nitrogenbutton.cpp
  2. 1
      clients/nitrogen/nitrogenclient.cpp

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

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

Loading…
Cancel
Save