flicker--

svn path=/trunk/KDE/kdelibs/; revision=892582
This commit is contained in:
Fredrik Höglund 2008-12-04 17:03:00 +00:00
parent dd61c4ef02
commit cc50a63ef6

View File

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