diff --git a/custom_widgets/rounded_corners_dialog.cpp b/custom_widgets/rounded_corners_dialog.cpp index d270e594..5210b6f7 100644 --- a/custom_widgets/rounded_corners_dialog.cpp +++ b/custom_widgets/rounded_corners_dialog.cpp @@ -25,7 +25,8 @@ void YACReader::RoundedCornersDialog::paintEvent(QPaintEvent *) p.setPen(Qt::NoPen); // Set the brush from palette role. - p.setBrush(palette().brush(backgroundRole())); + // p.setBrush(palette().brush(backgroundRole())); + p.setBrush(QBrush(QColor(255, 255, 255))); // TODO: the rest of the colors are hardcoded // Got radius? Otherwise draw a quicker rect. if (radius > 0.0) p.drawRoundedRect(rect, radius, radius, Qt::AbsoluteSize);