diff --git a/effects/presentwindows/presentwindows.cpp b/effects/presentwindows/presentwindows.cpp index 7e1edf48b6..110c2dabf8 100755 --- a/effects/presentwindows/presentwindows.cpp +++ b/effects/presentwindows/presentwindows.cpp @@ -1915,7 +1915,6 @@ void PresentWindowsEffect::screenCountChanged() { if (!isActive()) return; - delete m_closeView; while (!m_dropTargets.empty()) { delete m_dropTargets.takeFirst(); }