summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppheadersource_test.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2014-12-18 11:03:36 +0100
committerEike Ziller <eike.ziller@theqtcompany.com>2014-12-18 13:55:16 +0100
commit7b226fffd767f917350029ee46fe9535310f5279 (patch)
tree8aa0fb1437850239fdda2b8526c4233fbffc76f2 /src/plugins/cpptools/cppheadersource_test.cpp
parentbd70ae32552b3cda20989263b6f17448e0da6252 (diff)
downloadqt-creator-7b226fffd767f917350029ee46fe9535310f5279.tar.gz
ProjectExplorer: Hotfix for crash on session switch.
In ProjectTree::update() as well as in CurrentProjectFilter::currentProjectChanged(), there are crashes due to accesses to a pointer to a deleted project. Wrap the pointer in a QPointer to prevent this. May or may not be the correct long-term solution, but does fix the crash. Change-Id: I4182a4753578cc4765b9120a36cd8701d07c94c1 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cppheadersource_test.cpp')
0 files changed, 0 insertions, 0 deletions