From edfb40a95a602c0d8a99ddcbbb39fac43be5fb12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 1 Apr 2012 17:01:58 +0200 Subject: [PATCH] guard a remaining m_closeView pointer BUG: 297234 --- effects/presentwindows/presentwindows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/presentwindows/presentwindows.cpp b/effects/presentwindows/presentwindows.cpp index 3a0eec6828..15c76c5427 100755 --- a/effects/presentwindows/presentwindows.cpp +++ b/effects/presentwindows/presentwindows.cpp @@ -1708,7 +1708,7 @@ void PresentWindowsEffect::elevateCloseWindow() void PresentWindowsEffect::updateCloseWindow() { - if (m_doNotCloseWindows) + if (!m_closeView || m_doNotCloseWindows) return; if (!m_highlightedWindow || m_highlightedWindow->isDesktop()) { m_closeView->hide();