diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2014-12-18 11:03:36 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2014-12-18 13:55:16 +0100 |
commit | 7b226fffd767f917350029ee46fe9535310f5279 (patch) | |
tree | 8aa0fb1437850239fdda2b8526c4233fbffc76f2 /src/plugins/cpptools/cppheadersource_test.cpp | |
parent | bd70ae32552b3cda20989263b6f17448e0da6252 (diff) | |
download | qt-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