Changeset View
Changeset View
Standalone View
Standalone View
shell/panelshadows.cpp
Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Line(s) | |||||
170 | } | 170 | } | ||
171 | 171 | | |||
172 | void PanelShadows::setEnabledBorders(const QWindow *window, Plasma::FrameSvg::EnabledBorders enabledBorders) | 172 | void PanelShadows::setEnabledBorders(const QWindow *window, Plasma::FrameSvg::EnabledBorders enabledBorders) | ||
173 | { | 173 | { | ||
174 | if (!window || !d->m_windows.contains(window)) { | 174 | if (!window || !d->m_windows.contains(window)) { | ||
175 | return; | 175 | return; | ||
176 | } | 176 | } | ||
177 | 177 | | |||
178 | d->m_windows[window] = enabledBorders; | ||||
178 | d->updateShadow(window, enabledBorders); | 179 | d->updateShadow(window, enabledBorders); | ||
179 | } | 180 | } | ||
180 | 181 | | |||
181 | 182 | | |||
182 | void PanelShadows::Private::windowDestroyed(QObject *deletedObject) | 183 | void PanelShadows::Private::windowDestroyed(QObject *deletedObject) | ||
183 | { | 184 | { | ||
184 | m_windows.remove(static_cast<QWindow *>(deletedObject)); | 185 | m_windows.remove(static_cast<QWindow *>(deletedObject)); | ||
185 | 186 | | |||
▲ Show 20 Lines • Show All 526 Lines • Show Last 20 Lines |