From c0a7a4fd577922f6c00087120a76e185c7067fc5 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 13 Jan 2010 13:44:00 +0000 Subject: [PATCH] backport mask fix svn path=/branches/KDE/4.4/kdelibs/; revision=1074123 --- dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialog.cpp b/dialog.cpp index 7f849ccac..42681e97e 100644 --- a/dialog.cpp +++ b/dialog.cpp @@ -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) {