Do not create sizeGrip as a child of KDecoration::Widget since it is reparented. That allows one not to make it a Qt::ToolTip (which for some reason makes kwin use 100% cpu), and prevents it to be registered by paintRedirector

svn path=/trunk/KDE/kdebase/workspace/; revision=1036320
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-10-17 00:18:40 +00:00
parent 07cab1bae9
commit 4e1fd9e494
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#include <QtGui/QPolygon>
#include <QtCore/QTimer>
#include <kdeversion.h>
#include <KDebug>
#include "x11util.h"
#include <QtGui/QX11Info>
@ -44,7 +44,7 @@ namespace Oxygen
//_____________________________________________
OxygenSizeGrip::OxygenSizeGrip( OxygenClient* client ):
QWidget( client->widget(), Qt::ToolTip ),
QWidget( 0 ),
client_( client )
{