1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

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()) { if (hasFocus()) {
QStyleOptionFocusRect option; QStyleOptionFocusRect option;
option.initFrom(this); option.initFrom(this);
option.backgroundColor = palette().color(QPalette::Background); option.backgroundColor = palette().color(QPalette::Window);
style()->drawPrimitive(QStyle::PE_FrameFocusRect, &option, &p, this); style()->drawPrimitive(QStyle::PE_FrameFocusRect, &option, &p, this);
} }
} }