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:
parent
10695e51ee
commit
c5eaac122e
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user