summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/starwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/starwidget.cpp')
-rw-r--r--desktop-widgets/starwidget.cpp2
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);
}
}