mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Signals: Port connect calls to use callable_mp
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
This commit is contained in:
parent
a439131c2b
commit
01afc442c7
164 changed files with 1795 additions and 3293 deletions
|
@ -245,7 +245,6 @@ void ProgressDialog::_cancel_pressed() {
|
|||
}
|
||||
|
||||
void ProgressDialog::_bind_methods() {
|
||||
ClassDB::bind_method("_cancel_pressed", &ProgressDialog::_cancel_pressed);
|
||||
}
|
||||
|
||||
ProgressDialog::ProgressDialog() {
|
||||
|
@ -264,5 +263,5 @@ ProgressDialog::ProgressDialog() {
|
|||
cancel_hb->add_child(cancel);
|
||||
cancel->set_text(TTR("Cancel"));
|
||||
cancel_hb->add_spacer();
|
||||
cancel->connect_compat("pressed", this, "_cancel_pressed");
|
||||
cancel->connect("pressed", callable_mp(this, &ProgressDialog::_cancel_pressed));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue