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()));