Utils: Use Key more widely in QtcSettings

And adapt user code.

Change-Id: I6efe4ebe6823de4cc862f304a57e041b02c40eac
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
hjk
2023-08-30 07:39:54 +02:00
parent 922da1fbb3
commit c7710acadd
35 changed files with 141 additions and 147 deletions

View File

@@ -76,6 +76,11 @@ static void warnAboutUnsupportedKeys(const QVariantMap &map, const QString &name
}
}
static Key fullSettingsKey(const QString &fieldKey)
{
return "Wizards/" + keyFromString(fieldKey);
}
// --------------------------------------------------------------------
// Helper:
@@ -1413,9 +1418,4 @@ JsonFieldPage::Field *JsonFieldPage::createFieldData(const QString &type)
return nullptr;
}
QString JsonFieldPage::fullSettingsKey(const QString &fieldKey)
{
return "Wizards/" + fieldKey;
}
} // namespace ProjectExplorer