Replace .bind(...).call_deferred() with .call_deferred(...)
This commit is contained in:
@@ -5541,7 +5541,7 @@ void EditorNode::_add_dropped_files_recursive(const Vector<String> &p_files, Str
|
||||
}
|
||||
|
||||
void EditorNode::_file_access_close_error_notify(const String &p_str) {
|
||||
callable_mp_static(&EditorNode::_file_access_close_error_notify_impl).bind(p_str).call_deferred();
|
||||
callable_mp_static(&EditorNode::_file_access_close_error_notify_impl).call_deferred(p_str);
|
||||
}
|
||||
|
||||
void EditorNode::_file_access_close_error_notify_impl(const String &p_str) {
|
||||
@@ -6163,7 +6163,7 @@ static Node *_resource_get_edited_scene() {
|
||||
}
|
||||
|
||||
void EditorNode::_print_handler(void *p_this, const String &p_string, bool p_error, bool p_rich) {
|
||||
callable_mp_static(&EditorNode::_print_handler_impl).bind(p_string, p_error, p_rich).call_deferred();
|
||||
callable_mp_static(&EditorNode::_print_handler_impl).call_deferred(p_string, p_error, p_rich);
|
||||
}
|
||||
|
||||
void EditorNode::_print_handler_impl(const String &p_string, bool p_error, bool p_rich) {
|
||||
|
||||
Reference in New Issue
Block a user