unset the masks when they should and set overrideshadow on each window show
svn path=/trunk/KDE/kdelibs/; revision=1099654
This commit is contained in:
parent
885b1271f4
commit
270ffa55d5
@ -109,9 +109,9 @@ void DialogPrivate::themeChanged()
|
||||
|
||||
//kDebug() << leftWidth << topHeight << rightWidth << bottomHeight;
|
||||
if (Plasma::Theme::defaultTheme()->windowTranslucencyEnabled()) {
|
||||
q->setMask(background->mask());
|
||||
q->clearMask();
|
||||
} else {
|
||||
q->setMask(QRect(QPoint(0, 0), q->size()));
|
||||
q->setMask(background->mask());
|
||||
}
|
||||
|
||||
FrameSvg::EnabledBorders borders = FrameSvg::AllBorders;
|
||||
@ -616,6 +616,7 @@ void Dialog::showEvent(QShowEvent * event)
|
||||
}
|
||||
|
||||
emit dialogVisible(true);
|
||||
WindowEffects::overrideShadow(winId(), true);
|
||||
}
|
||||
|
||||
void Dialog::focusInEvent(QFocusEvent *event)
|
||||
|
Loading…
Reference in New Issue
Block a user