aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2020-05-15 15:30:19 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2020-05-15 13:30:53 +0000
commit18e5d9187abd303975ffead66723d0748a3c55a1 (patch)
treea9e18c763268eed2dd4bfa0f9e6891f1a90b62ba
parent564bace1ec3db065495dcd1d6ea93f93566fc643 (diff)
QmlDesigner: Fix clipping regression
Change-Id: Iee56c9934042f5bf08ad2059a5f4a4be5ae96c35 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp b/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp
index def098ca46..13ab98daff 100644
--- a/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp
@@ -444,8 +444,6 @@ void FormEditorItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *,
|| painterTransform.isRotating())
painter->setRenderHint(QPainter::SmoothPixmapTransform, true);
- painter->setClipRegion(boundingRect().toRect());
-
if (m_blurContent)
painter->drawPixmap(m_paintedBoundingRect.topLeft(), qmlItemNode().instanceBlurredRenderPixmap());
else