flicker--
svn path=/trunk/KDE/kdelibs/; revision=892582
This commit is contained in:
parent
dd61c4ef02
commit
cc50a63ef6
|
@ -178,6 +178,10 @@ Dialog::Dialog(QWidget *parent, Qt::WindowFlags f)
|
||||||
d->background->setEnabledBorders(FrameSvg::AllBorders);
|
d->background->setEnabledBorders(FrameSvg::AllBorders);
|
||||||
d->background->resizeFrame(size());
|
d->background->resizeFrame(size());
|
||||||
|
|
||||||
|
QPalette pal = palette();
|
||||||
|
pal.setColor(backgroundRole(), Qt::transparent);
|
||||||
|
setPalette(pal);
|
||||||
|
|
||||||
connect(d->background, SIGNAL(repaintNeeded()), this, SLOT(update()));
|
connect(d->background, SIGNAL(repaintNeeded()), this, SLOT(update()));
|
||||||
|
|
||||||
connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(themeUpdated()));
|
connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(themeUpdated()));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user