mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Remove Signal connect binds
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
This commit is contained in:
parent
14d021287b
commit
d4433ae6d3
149 changed files with 645 additions and 708 deletions
|
@ -282,7 +282,7 @@ ShaderFileEditor::ShaderFileEditor() {
|
|||
stage_hb->add_child(button);
|
||||
stages[i] = button;
|
||||
button->set_button_group(bg);
|
||||
button->connect("pressed", callable_mp(this, &ShaderFileEditor::_version_selected), varray(i));
|
||||
button->connect("pressed", callable_mp(this, &ShaderFileEditor::_version_selected).bind(i));
|
||||
}
|
||||
|
||||
error_text = memnew(RichTextLabel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue