From ca5432aa9330c9314494e0c8c80f1bc6b363631a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Fri, 4 Feb 2011 21:28:31 +0100 Subject: [PATCH] remove delted windows from list. can happen and triggers kwin part of BUG: 265297 --- effects/logout/logout.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/effects/logout/logout.cpp b/effects/logout/logout.cpp index 5c2350a4a1..530023904f 100644 --- a/effects/logout/logout.cpp +++ b/effects/logout/logout.cpp @@ -338,6 +338,7 @@ void LogoutEffect::windowClosed( EffectWindow* w ) void LogoutEffect::windowDeleted( EffectWindow* w ) { + windows.removeAll( w ); ignoredWindows.removeAll( w ); if( w == logoutWindow ) logoutWindow = NULL;