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.
This commit is contained in:
baldurk
2021-01-06 15:11:34 +00:00
parent cc36581592
commit 4f7abcd488
-1
View File
@@ -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();