diff options
author | hjk <hjk@qt.io> | 2019-07-03 18:34:30 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-07-04 12:28:38 +0000 |
commit | 6a58666f4403cdde1809784c1cc98668a4b02cfc (patch) | |
tree | af2ab09f192f779947a71022a91fb090bbfd5353 /src/plugins/projectexplorer/jsonwizard | |
parent | 599b03179e392b97023c6ebca98faa514967841a (diff) |
More Utils::toSet/toList
... and unrelated cosmetic changes.
Change-Id: I591b17fd5289831e701b683f8fb47816efd1fa67
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/jsonwizard')
-rw-r--r-- | src/plugins/projectexplorer/jsonwizard/jsonwizardgeneratorfactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizardgeneratorfactory.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizardgeneratorfactory.cpp index cf84f8b5e4..ae3e6aaa52 100644 --- a/src/plugins/projectexplorer/jsonwizard/jsonwizardgeneratorfactory.cpp +++ b/src/plugins/projectexplorer/jsonwizard/jsonwizardgeneratorfactory.cpp @@ -215,7 +215,7 @@ JsonWizardGenerator::OverwriteResult JsonWizardGenerator::promptForOverwrite(Jso if (overwriteDialog.exec() != QDialog::Accepted) return OverwriteCanceled; - const QSet<QString> existingFilesToKeep = QSet<QString>::fromList(overwriteDialog.uncheckedFiles()); + const QSet<QString> existingFilesToKeep = Utils::toSet(overwriteDialog.uncheckedFiles()); if (existingFilesToKeep.size() == files->size()) // All exist & all unchecked->Cancel. return OverwriteCanceled; |