Autotools: Fix duplicates in project tree after reparse

Fixes: QTCREATORBUG-19837
Change-Id: I84afab5b571afa550d4329973eb19aa09335d614
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-01-16 16:07:00 +01:00
parent ec5c3b59ea
commit fddc1e2075

View File

@@ -175,6 +175,7 @@ void AutotoolsProject::makefileParsingFinished()
foreach (const QString& watchedFile, m_watchedFiles)
m_fileWatcher->removeFile(watchedFile);
m_files.clear();
m_watchedFiles.clear();
// Apply sources to m_files, which are returned at AutotoolsProject::files()