From cc50a63ef6553d41a8978df3212a615db7d3fb05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Thu, 4 Dec 2008 17:03:00 +0000 Subject: [PATCH] flicker-- svn path=/trunk/KDE/kdelibs/; revision=892582 --- dialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dialog.cpp b/dialog.cpp index 4d6a12f9e..e1cdd77ad 100644 --- a/dialog.cpp +++ b/dialog.cpp @@ -178,6 +178,10 @@ Dialog::Dialog(QWidget *parent, Qt::WindowFlags f) d->background->setEnabledBorders(FrameSvg::AllBorders); d->background->resizeFrame(size()); + QPalette pal = palette(); + pal.setColor(backgroundRole(), Qt::transparent); + setPalette(pal); + connect(d->background, SIGNAL(repaintNeeded()), this, SLOT(update())); connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(themeUpdated()));