diff options
| author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-06-28 11:26:02 +0200 |
|---|---|---|
| committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-06-28 17:54:53 +0200 |
| commit | 1fad00f9991b86c3a329410c95f148b6ce3ef0d3 (patch) | |
| tree | 5994350ea1c4ca4824cff003a1ef4dc4f9fbfb86 /tests/cppmodelmanager/testdata_project2/bar.cpp | |
| parent | 377078ea27525744bf5e8d934b671dcc0f9fcb1f (diff) | |
CppTools: Fix snapshot in case another project is opened
When a second project was opened the snapshot was reset. That resulted
in all kinds of problems since from then on the code model effectively
was not aware of the files of the first project.
The regression was introduced by commit a0d6df7b.
Change-Id: I1ccc9de68177205b49a4ba8ead2bc8abe4592b32
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Diffstat (limited to 'tests/cppmodelmanager/testdata_project2/bar.cpp')
| -rw-r--r-- | tests/cppmodelmanager/testdata_project2/bar.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cppmodelmanager/testdata_project2/bar.cpp b/tests/cppmodelmanager/testdata_project2/bar.cpp new file mode 100644 index 00000000000..30882cdcd9c --- /dev/null +++ b/tests/cppmodelmanager/testdata_project2/bar.cpp @@ -0,0 +1,7 @@ +// Copyright header + +#include "bar.h" + +Bar::Bar() +{ +} |
