diff options
author | Eike Ziller <eike.ziller@qt.io> | 2020-03-04 08:15:50 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-03-04 08:15:50 +0100 |
commit | 995ba78fae1faafdf76bf1449a593342896a4845 (patch) | |
tree | 5ebec6505595d0c28d3a0374abb1310efca003dc /src/plugins/autotoolsprojectmanager | |
parent | 3bb44dc1c34e27e83790bfbcf219d24424f939ee (diff) | |
parent | 6959618d7b2d9efc8f5f668489523d1833d4b396 (diff) |
Merge remote-tracking branch 'origin/4.12'
Conflicts:
src/plugins/cmakeprojectmanager/tealeafreader.cpp
src/plugins/cmakeprojectmanager/tealeafreader.h
src/plugins/projectexplorer/miniprojecttargetselector.cpp
Change-Id: I88d85be3903f57a55fddb7901e771a4822db1b85
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/autotoolsbuildsystem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsbuildsystem.cpp b/src/plugins/autotoolsprojectmanager/autotoolsbuildsystem.cpp index 2345a89076..a6cacabaa2 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolsbuildsystem.cpp +++ b/src/plugins/autotoolsprojectmanager/autotoolsbuildsystem.cpp @@ -110,7 +110,7 @@ void AutotoolsBuildSystem::makefileParsingFinished() m_files.clear(); - QVector<Utils::FilePath> filesToWatch; + QSet<Utils::FilePath> filesToWatch; // Apply sources to m_files, which are returned at AutotoolsBuildSystem::files() const QFileInfo fileInfo = projectFilePath().toFileInfo(); @@ -127,7 +127,7 @@ void AutotoolsBuildSystem::makefileParsingFinished() m_files.append(absMakefile); - filesToWatch.append(Utils::FilePath::fromString(absMakefile)); + filesToWatch.insert(Utils::FilePath::fromString(absMakefile)); } // Add configure.ac file to project and watch for changes. @@ -137,7 +137,7 @@ void AutotoolsBuildSystem::makefileParsingFinished() const QString absConfigureAc = dir.absoluteFilePath(configureAc); m_files.append(absConfigureAc); - filesToWatch.append(Utils::FilePath::fromString(absConfigureAc)); + filesToWatch.insert(Utils::FilePath::fromString(absConfigureAc)); } auto newRoot = std::make_unique<ProjectNode>(project()->projectDirectory()); |