From 4471e8a41b935623c79e79c61a7610290b4fe658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 6 Feb 2013 14:32:43 +0100 Subject: [PATCH] Do not delete close window on screenCountChanged Not needed there and causes crash. --- effects/presentwindows/presentwindows.cpp | 1 - 1 file changed, 1 deletion(-) 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(); }