summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppmodelmanager_test.cpp
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2017-01-19 12:52:16 +0100
committerNikolai Kosjar <nikolai.kosjar@qt.io>2017-01-26 07:50:11 +0000
commitbddfe21961f59ee471b302da9bc7a5c7ee4f561d (patch)
tree24f3abeaf545e98ce28d1deb7d9f05c98a5f003a /src/plugins/cpptools/cppmodelmanager_test.cpp
parent07f32ef57ab34afc421e217048ce068a5501bb33 (diff)
downloadqt-creator-bddfe21961f59ee471b302da9bc7a5c7ee4f561d.tar.gz
CppTools: Fix using updated project part
1. Open a project consisting of two subprojects referencing the same source file. 2. Open the source file. 3. Click '#' in the editor toolbar and select the second project (part). 4. Update the project file, e.g. add a define ==> Editor does not reflect the added define This is due to comparing project part pointers. Fix by using the project part id that remains stable across project manager updates. Change-Id: Ifd1a113e55ebe2ecf036cd7caafdbfd6e4cdf415 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager_test.cpp')
0 files changed, 0 insertions, 0 deletions