diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-04-26 22:32:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 22:32:50 +0200 |
commit | 639b02f4541be289a10f2e7bc80fd1ea67e4cf32 (patch) | |
tree | 999ab45ae185e456b7b455502a3de2edac9cbed3 /editor/scene_tree_editor.cpp | |
parent | f6e5ea774ba071e995a2c7a3f225285d9e708c5a (diff) | |
parent | 5d124c4a8f86176e8adafab3d3703f28e597cb12 (diff) |
Merge pull request #48185 from Calinou/codestyle-no-auto
Remove uses of `auto` for better readability and online code reviews
Diffstat (limited to 'editor/scene_tree_editor.cpp')
-rw-r--r-- | editor/scene_tree_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp index ec37fa53b3..b4f7eda391 100644 --- a/editor/scene_tree_editor.cpp +++ b/editor/scene_tree_editor.cpp @@ -277,7 +277,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent, bool p_scroll } Ref<Texture2D> icon_temp; - auto signal_temp = BUTTON_SIGNALS; + SceneTreeEditorButton signal_temp = BUTTON_SIGNALS; if (num_connections >= 1 && num_groups >= 1) { icon_temp = get_theme_icon("SignalsAndGroups", "EditorIcons"); } else if (num_connections >= 1) { |