add deleteLater instead of delete for dockView

pull/1/head
Michail Vourlakos 8 years ago
parent 424f0e0e1c
commit 4381384d20

@ -926,7 +926,7 @@ void DockCorona::dockContainmentDestroyed(QObject *cont)
auto view = m_waitingDockViews.take(static_cast<Plasma::Containment *>(cont)); auto view = m_waitingDockViews.take(static_cast<Plasma::Containment *>(cont));
if (view) if (view)
delete view; view->deleteLater();
emit docksCountChanged(); emit docksCountChanged();
} }

Loading…
Cancel
Save