forked from qt-creator/qt-creator
AutoTest: Fix crash on shutdown
Amends b402215daf.
Change-Id: I4b5812af6e1ad86e5ddaaa20483a226f0a5c6036
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -109,7 +109,7 @@ TestNavigationWidget::TestNavigationWidget(QWidget *parent) :
|
||||
});
|
||||
ProjectExplorer::SessionManager *sm = ProjectExplorer::SessionManager::instance();
|
||||
connect(sm, &ProjectExplorer::SessionManager::startupProjectChanged,
|
||||
[this](ProjectExplorer::Project * /*project*/) {
|
||||
this, [this](ProjectExplorer::Project * /*project*/) {
|
||||
m_expandedStateCache.clear();
|
||||
m_itemUseCache.clear();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user