Commit 61259401 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Clear the shadow when the associated window is destroyed

This ensures that there are no shadows during teardown.
parent 541c81dc
......@@ -90,6 +90,7 @@ void PanelShadows::addWindow(QWindow *window, Plasma::FrameSvg::EnabledBorders e
d->updateShadow(window, enabledBorders);
connect(window, &QObject::destroyed, this, [this, window]() {
if (d->m_windows.isEmpty()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment