diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-10-26 10:51:36 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-26 19:27:03 -0700 |
commit | c5eaac122e28079f2e580095c0b6673cdb3c54f9 (patch) | |
tree | 5f1f4e60fc42677916a3ebf8d4ddcbe5e8966d88 /desktop-widgets/starwidget.cpp | |
parent | 10695e51ee379383baa5befac5f54edf13f3412e (diff) | |
download | subsurface-c5eaac122e28079f2e580095c0b6673cdb3c54f9.tar.gz |
cleanup: remove reference to deprecated enum value
This had been deprecated for quite a while.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/starwidget.cpp')
-rw-r--r-- | desktop-widgets/starwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/starwidget.cpp b/desktop-widgets/starwidget.cpp index a12a1e32b..96e8033dd 100644 --- a/desktop-widgets/starwidget.cpp +++ b/desktop-widgets/starwidget.cpp @@ -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); } } |