guard a remaining m_closeView pointer

BUG: 297234
This commit is contained in:
Thomas Lübking 2012-04-01 17:01:58 +02:00
parent cdc1af7df1
commit edfb40a95a

View file

@ -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();