summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-27 13:29:57 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-27 13:29:57 +0200
commit4ed62665a21ff4dc8d483c0fd268ccc8fb60f638 (patch)
tree81edb2cd6d5a694b879a4dfba6ae76235be8bdcc /editor/editor_node.cpp
parentbe56cab58c056c074d1e02cd0b38641204e39f41 (diff)
downloadredot-engine-4ed62665a21ff4dc8d483c0fd268ccc8fb60f638.tar.gz
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) {