Ensure we do not interfere with ourselves while parsing

Change-Id: I4e22e91273737321e7dbfa10e50b4ae1f4ee63f9
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-07-27 10:44:14 +02:00
parent 8b4bdb6a00
commit 4fbc020ddc
3 changed files with 36 additions and 17 deletions

View File

@@ -84,6 +84,7 @@ public slots:
void onCppDocumentUpdated(const CPlusPlus::Document::Ptr &document);
void onQmlDocumentUpdated(const QmlJS::Document::Ptr &document);
void onStartupProjectChanged(ProjectExplorer::Project *);
void onProjectPartsUpdated(ProjectExplorer::Project *project);
void removeFiles(const QStringList &files);
void onProFileEvaluated();
@@ -115,6 +116,7 @@ private:
bool m_fullUpdatePostponed;
bool m_partialUpdatePostponed;
bool m_dirty;
bool m_waitForParseTaskFinish;
QSet<QString> m_postponedFiles;
State m_parserState;
};