summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-28 15:50:01 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-28 15:50:01 +0200
commitb8f3c5e2abed950590f3e750c63008a00092891f (patch)
tree4fc5d4f3d5294f8de7942efb083f219398db3f6e /editor/editor_node.cpp
parent607fa8229b711f6baebb3b112f094d9545f1c73f (diff)
parent4ed62665a21ff4dc8d483c0fd268ccc8fb60f638 (diff)
downloadredot-engine-b8f3c5e2abed950590f3e750c63008a00092891f.tar.gz
Merge pull request #92427 from AThousandShips/bind_go_away
Replace `.bind(...).call_deferred()` with `.call_deferred(...)`
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 949916c2a3..e4fcee22a7 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -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) {