From 23a354f4d8844fe2f684177fbdfe43667023fe49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 2 Oct 2013 07:49:54 +0200 Subject: [PATCH] Remove WA_PaintOnScreen attribute from decoration widget With this attribute set the QPainter on the widget() never gets active in non composited rendering and thus the decoration does not get rendered at all. --- libkdecorations/kdecoration.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libkdecorations/kdecoration.cpp b/libkdecorations/kdecoration.cpp index 43fcb7e41b..f5f1c77892 100644 --- a/libkdecorations/kdecoration.cpp +++ b/libkdecorations/kdecoration.cpp @@ -93,7 +93,6 @@ void KDecoration::createMainWidget(Qt::WindowFlags flags) // FRAME check flags? QWidget *w = new QWidget(initialParentWidget(), initialWFlags() | flags); w->setObjectName(QLatin1String("decoration widget")); - w->setAttribute(Qt::WA_PaintOnScreen); if (options()->showTooltips()) w->setAttribute(Qt::WA_AlwaysShowToolTips); setMainWidget(w);