From 4f7abcd488c1b689ceb41840af8eea647739a834 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 6 Jan 2021 15:11:34 +0000 Subject: [PATCH] Remove unneeded window attribute in custom paint widget * This was having some unpleasant knock-on effects in Qt that caused other controls in the panels to fail to render properly. --- qrenderdoc/Widgets/CustomPaintWidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/qrenderdoc/Widgets/CustomPaintWidget.cpp b/qrenderdoc/Widgets/CustomPaintWidget.cpp index c3c475e2d..46ed37c7d 100644 --- a/qrenderdoc/Widgets/CustomPaintWidget.cpp +++ b/qrenderdoc/Widgets/CustomPaintWidget.cpp @@ -49,7 +49,6 @@ CustomPaintWidget::CustomPaintWidget(QWidget *parent) : QWidget(parent) m_Tag = QFormatStr("custompaint%1").arg((uintptr_t) this); setAttribute(Qt::WA_OpaquePaintEvent); - setAttribute(Qt::WA_PaintOnScreen); m_Dark = Formatter::DarkCheckerColor(); m_Light = Formatter::LightCheckerColor();