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.
This commit is contained in:
parent
93a94d3f1f
commit
23a354f4d8
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue