backport mask fix

svn path=/branches/KDE/4.4/kdelibs/; revision=1074123
This commit is contained in:
Marco Martin 2010-01-13 13:44:00 +00:00
parent 08d517c788
commit c0a7a4fd57

View File

@ -443,7 +443,7 @@ void Dialog::resizeEvent(QResizeEvent *e)
if (Plasma::Theme::defaultTheme()->windowTranslucencyEnabled()) {
clearMask();
} else {
setMask(QRect(QPoint(0, 0), size()));
setMask(d->background->mask());
}
if (d->resizeStartCorner != -1 && d->view && d->graphicsWidgetPtr) {