Do not delete close window on screenCountChanged

Not needed there and causes crash.
This commit is contained in:
Martin Gräßlin 2013-02-06 14:32:43 +01:00
parent fcae2f3c12
commit 4471e8a41b

View file

@ -1915,7 +1915,6 @@ void PresentWindowsEffect::screenCountChanged()
{ {
if (!isActive()) if (!isActive())
return; return;
delete m_closeView;
while (!m_dropTargets.empty()) { while (!m_dropTargets.empty()) {
delete m_dropTargets.takeFirst(); delete m_dropTargets.takeFirst();
} }