forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user