Merge pull request #118856 from Ivorforce/stringname-string-conversion

Change `StringName` -> `String` conversion from `operator String()` to `string()`
This commit is contained in:
Thaddeus Crews
2026-06-23 07:01:08 -05:00
47 changed files with 126 additions and 125 deletions
+1 -1
View File
@@ -966,7 +966,7 @@ void _save_text_editor_theme_as(const String &p_file) {
text_colors.sort();
for (const KeyValue<StringName, Color> &text_color : text_colors) {
const Color val = EditorSettings::get_singleton()->get_setting(text_color.key);
const String &key = text_color.key.operator String().replace("text_editor/theme/highlighting/", "");
const String &key = text_color.key.string().replace("text_editor/theme/highlighting/", "");
cf->set_value(theme_section, key, val.to_html());
}