forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -611,10 +611,10 @@ private:
|
||||
return;
|
||||
|
||||
bool addedMutables = false;
|
||||
QList<Core::Id> knownIdList = Utils::transform(m_widgets, &KitAspectWidget::kitInformationId);
|
||||
QList<Utils::Id> knownIdList = Utils::transform(m_widgets, &KitAspectWidget::kitInformationId);
|
||||
|
||||
for (KitAspect *aspect : KitManager::kitAspects()) {
|
||||
const Core::Id currentId = aspect->id();
|
||||
const Utils::Id currentId = aspect->id();
|
||||
if (m_kit->isMutable(currentId) && !knownIdList.removeOne(currentId)) {
|
||||
addedMutables = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user