Disable Compressor background autofill (#6986)

This commit is contained in:
Lost Robot
2023-11-18 13:06:26 -08:00
committed by GitHub
parent 7268827624
commit 0255704138

View File

@@ -58,7 +58,10 @@ CompressorControlDialog::CompressorControlDialog(CompressorControls* controls) :
m_graphColor(209, 216, 228, 50),
m_resetColor(200, 100, 15, 200)
{
setAutoFillBackground(true);
setAutoFillBackground(false);
setAttribute(Qt::WA_OpaquePaintEvent, true);
setAttribute(Qt::WA_NoSystemBackground, true);
QPalette pal;
pal.setBrush(backgroundRole(), PLUGIN_NAME::getIconPixmap("artwork"));
setPalette(pal);