Change StringName -> String conversion from operator String() to string().

This commit is contained in:
Lukas Tenbrink
2026-04-22 19:00:04 +02:00
parent f964fa714f
commit 2659124e66
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());
}