693 // we need to delay actual deletion of Scope object so that shell can animate it
694 - QTimer::singleShot(1000 * SCOPE_DELETE_DELAY, (*it), SLOT(deleteLater()));
695 + QTimer::singleShot(1000 * SCOPE_DELETE_DELAY, (*it).data(), SLOT(deleteLater()));
696 it = m_scopes.erase(it);
I think that will not work anymore, because erasing from m_scopes will just invoke deleteLater immediately?
693 // we need to delay actual deletion of Scope object so that shell can animate it :singleShot( 1000 * SCOPE_DELETE_DELAY, (*it), SLOT(deleteLate r())); :singleShot( 1000 * SCOPE_DELETE_DELAY, (*it).data(), SLOT(deleteLate r()));
694 - QTimer:
695 + QTimer:
696 it = m_scopes.erase(it);
I think that will not work anymore, because erasing from m_scopes will just invoke deleteLater immediately?