diff --git a/kcmkwin/kwindecoration/declarative-plugin/previewitem.cpp b/kcmkwin/kwindecoration/declarative-plugin/previewitem.cpp index 5153db9774..d31c4dd3b0 100644 --- a/kcmkwin/kwindecoration/declarative-plugin/previewitem.cpp +++ b/kcmkwin/kwindecoration/declarative-plugin/previewitem.cpp @@ -43,7 +43,7 @@ namespace Preview PreviewItem::PreviewItem(QQuickItem *parent) : QQuickPaintedItem(parent) , m_decoration(nullptr) - , m_windowColor(QPalette().background().color()) + , m_windowColor(QPalette().window().color()) { setAcceptHoverEvents(true); setFiltersChildMouseEvents(true);