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:
@@ -210,7 +210,7 @@ void DocSettingsPage::addDocumentation()
|
||||
// file with the same namespace but a different path, we need to unregister the namespace before
|
||||
// we can register the new one. Help engine allows just one registered namespace.
|
||||
if (m_filesToUnregister.contains(nameSpace)) {
|
||||
QSet<QString> values = m_filesToUnregister.values(nameSpace).toSet();
|
||||
QSet<QString> values = Utils::toSet(m_filesToUnregister.values(nameSpace));
|
||||
values.remove(filePath);
|
||||
m_filesToUnregister.remove(nameSpace);
|
||||
foreach (const QString &value, values)
|
||||
|
||||
Reference in New Issue
Block a user