diff options
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager.cpp')
-rw-r--r-- | src/plugins/cpptools/cppmodelmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppmodelmanager.cpp b/src/plugins/cpptools/cppmodelmanager.cpp index fd4430320c..533b803808 100644 --- a/src/plugins/cpptools/cppmodelmanager.cpp +++ b/src/plugins/cpptools/cppmodelmanager.cpp @@ -234,6 +234,11 @@ CppModelManager::CppModelManager(QObject *parent) , m_indexingSupporter(0) , m_enableGC(true) { + connect(this, SIGNAL(documentUpdated(CPlusPlus::Document::Ptr)), + this, SIGNAL(globalSnapshotChanged())); + connect(this, SIGNAL(aboutToRemoveFiles(QStringList)), + this, SIGNAL(globalSnapshotChanged())); + m_findReferences = new CppFindReferences(this); m_indexerEnabled = qgetenv("QTCREATOR_NO_CODE_INDEXER").isNull(); |