forked from qt-creator/qt-creator
More Utils::toSet/toList
... and unrelated cosmetic changes. Change-Id: I591b17fd5289831e701b683f8fb47816efd1fa67 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -925,7 +925,7 @@ void CentralizedFolderWatcher::delayedFolderChanged(const QString &folder)
|
||||
QSet<QString> alreadyAdded = m_watcher.directories().toSet();
|
||||
tmp.subtract(alreadyAdded);
|
||||
if (!tmp.isEmpty())
|
||||
m_watcher.addPaths(tmp.toList());
|
||||
m_watcher.addPaths(Utils::toList(tmp));
|
||||
m_recursiveWatchedFolders += tmp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user