summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolsplugin.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2013-06-28 11:26:02 +0200
committerNikolai Kosjar <nikolai.kosjar@digia.com>2013-06-28 17:54:53 +0200
commit1fad00f9991b86c3a329410c95f148b6ce3ef0d3 (patch)
tree5994350ea1c4ca4824cff003a1ef4dc4f9fbfb86 /src/plugins/cpptools/cpptoolsplugin.h
parent377078ea27525744bf5e8d934b671dcc0f9fcb1f (diff)
downloadqt-creator-1fad00f9991b86c3a329410c95f148b6ce3ef0d3.tar.gz
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 'src/plugins/cpptools/cpptoolsplugin.h')
-rw-r--r--src/plugins/cpptools/cpptoolsplugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h
index 4c983bab6c..d10c690221 100644
--- a/src/plugins/cpptools/cpptoolsplugin.h
+++ b/src/plugins/cpptools/cpptoolsplugin.h
@@ -163,6 +163,7 @@ private slots:
void test_modelmanager_framework_headers();
void test_modelmanager_refresh_1();
void test_modelmanager_refresh_2();
+ void test_modelmanager_snapshot_after_two_projects();
private:
void test_completion();