diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-03 15:58:44 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-03 15:58:44 +0200 |
commit | 5f1184e93fe1021c86520460dc0a6619bff3c1fb (patch) | |
tree | a3dc765ec942feb0c95bd0305993812c970c2de6 /editor/plugins/control_editor_plugin.cpp | |
parent | 56cf773b022348e5940ef6a9c6165ec724ced43a (diff) | |
parent | 0f72b15bc2181bd02923599d2587524b1ba0e8be (diff) | |
download | redot-engine-5f1184e93fe1021c86520460dc0a6619bff3c1fb.tar.gz |
Merge pull request #92723 from AThousandShips/incorrect_sname
Fix some incorrect uses of `String` over `StringName`
Diffstat (limited to 'editor/plugins/control_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/control_editor_plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/control_editor_plugin.cpp b/editor/plugins/control_editor_plugin.cpp index a3804eff00..3479d22267 100644 --- a/editor/plugins/control_editor_plugin.cpp +++ b/editor/plugins/control_editor_plugin.cpp @@ -360,9 +360,9 @@ void EditorPropertySizeFlags::setup(const Vector<String> &p_options, bool p_vert } Control *gui_base = EditorNode::get_singleton()->get_gui_base(); - String wide_preset_icon = SNAME("ControlAlignHCenterWide"); - String begin_preset_icon = SNAME("ControlAlignCenterLeft"); - String end_preset_icon = SNAME("ControlAlignCenterRight"); + StringName wide_preset_icon = SNAME("ControlAlignHCenterWide"); + StringName begin_preset_icon = SNAME("ControlAlignCenterLeft"); + StringName end_preset_icon = SNAME("ControlAlignCenterRight"); if (vertical) { wide_preset_icon = SNAME("ControlAlignVCenterWide"); begin_preset_icon = SNAME("ControlAlignCenterTop"); |