cleanup: remove reference to deprecated enum value

This had been deprecated for quite a while.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-10-26 10:51:36 -07:00
parent 10695e51ee
commit c5eaac122e

View file

@ -78,7 +78,7 @@ void StarWidget::paintEvent(QPaintEvent*)
if (hasFocus()) {
QStyleOptionFocusRect option;
option.initFrom(this);
option.backgroundColor = palette().color(QPalette::Background);
option.backgroundColor = palette().color(QPalette::Window);
style()->drawPrimitive(QStyle::PE_FrameFocusRect, &option, &p, this);
}
}