From 465721bb59a089c3f12523e07353103b9ab75e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 2 Apr 2015 17:39:02 +0200 Subject: [PATCH] [scene-qpainter] Fill decoration render rect with Qt::transparent Used to be Qt::red which sounds a lot like testing code made it into a a commit... --- scene_qpainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_qpainter.cpp b/scene_qpainter.cpp index 1966a399ec..123b94d899 100644 --- a/scene_qpainter.cpp +++ b/scene_qpainter.cpp @@ -832,7 +832,7 @@ void SceneQPainterDecorationRenderer::render() painter.save(); // clear existing part painter.setCompositionMode(QPainter::CompositionMode_Source); - painter.fillRect(rect, Qt::red); + painter.fillRect(rect, Qt::transparent); painter.restore(); client()->decoration()->paint(&painter, rect); };