Avoid more deprecation warnings

Change-Id: Icc7bb7a4ccf7fc9f89f6f668c194ccd440e5231c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2019-07-04 19:00:20 +02:00
parent 6e4d0a70e9
commit c77cef5706
8 changed files with 13 additions and 12 deletions

View File

@@ -289,7 +289,7 @@ bool GenericProject::addFiles(const QStringList &filePaths)
for (const QString &filePath : filePaths)
insertSorted(&newList, baseDir.relativeFilePath(filePath));
const QSet<QString> includes = m_projectIncludePaths.toSet();
const QSet<QString> includes = Utils::toSet(m_projectIncludePaths);
QSet<QString> toAdd;
for (const QString &filePath : filePaths) {