WA_NoSystemBackground causes huge graphical glitches combined with the slidingpopups kwin effect

svn path=/trunk/KDE/kdelibs/; revision=1099566
This commit is contained in:
Marco Martin 2010-03-05 19:04:09 +00:00
parent eeac4bb2d8
commit 885b1271f4

View File

@ -311,6 +311,8 @@ Dialog::Dialog(QWidget *parent, Qt::WindowFlags f)
d(new DialogPrivate(this))
{
setAttribute(Qt::WA_TranslucentBackground);
//WA_NoSystemBackground is going to fail combined with sliding popups
setAttribute(Qt::WA_NoSystemBackground, false);
setWindowFlags(Qt::FramelessWindowHint);
d->background = new FrameSvg(this);
d->background->setImagePath("dialogs/background");