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
|
|
@ -627,7 +627,7 @@ void ConnectionsDock::_connect(ConnectDialog::ConnectionData p_cd) {
|
|||
|
||||
Callable callable = p_cd.get_callable();
|
||||
undo_redo->create_action(vformat(TTR("Connect '%s' to '%s'"), String(p_cd.signal), String(p_cd.method)));
|
||||
undo_redo->add_do_method(source, "connect", p_cd.signal, callable, varray(), p_cd.flags);
|
||||
undo_redo->add_do_method(source, "connect", p_cd.signal, callable, p_cd.flags);
|
||||
undo_redo->add_undo_method(source, "disconnect", p_cd.signal, callable);
|
||||
undo_redo->add_do_method(this, "update_tree");
|
||||
undo_redo->add_undo_method(this, "update_tree");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue