Ensure Add/remove button is removed when DesktopGrid is unloaded
BUG: 271481 FIXED-IN: 4.7.0
This commit is contained in:
parent
3db49d9882
commit
e25913cafb
1 changed files with 6 additions and 0 deletions
|
@ -89,6 +89,12 @@ DesktopGridEffect::~DesktopGridEffect()
|
|||
foreach (ElectricBorder border, borderActivate) {
|
||||
effects->unreserveElectricBorder(border);
|
||||
}
|
||||
QHash< DesktopButtonsView*, EffectWindow* >::iterator i = m_desktopButtonsViews.begin();
|
||||
while (i != m_desktopButtonsViews.end()) {
|
||||
DesktopButtonsView *view = i.key();
|
||||
i = m_desktopButtonsViews.erase(i);
|
||||
view->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
void DesktopGridEffect::reconfigure(ReconfigureFlags)
|
||||
|
|
Loading…
Reference in a new issue