diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2023-01-18 17:40:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 17:40:13 +0100 |
commit | bcaf048f33b21b2c26d1c861200231f23d7849db (patch) | |
tree | 1fcd45d5e67befd03905e2fd0e94e11cae60052b /scene/gui/control.cpp | |
parent | 3f10f9f5ef3d75bbbbdd57b7ac8b86972138f679 (diff) | |
parent | 59ea36b87cb84ce40ebf702e65f0493dd1c40141 (diff) |
Merge pull request #71379 from KoBeWi/destruction_of_compatibility_function
Remove set_drag_forwarding_compat()
Diffstat (limited to 'scene/gui/control.cpp')
-rw-r--r-- | scene/gui/control.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 10dbad232a..5930818763 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -1823,19 +1823,6 @@ bool Control::is_focus_owner_in_shortcut_context() const { // Drag and drop handling. -void Control::set_drag_forwarding_compat(Object *p_base) { - if (p_base != nullptr) { - data.forward_drag = Callable(p_base, "_get_drag_data_fw").bind(this); - data.forward_can_drop = Callable(p_base, "_can_drop_data_fw").bind(this); - data.forward_drop = Callable(p_base, "_drop_data_fw").bind(this); - - } else { - data.forward_drag = Callable(); - data.forward_can_drop = Callable(); - data.forward_drop = Callable(); - } -} - void Control::set_drag_forwarding(const Callable &p_drag, const Callable &p_can_drop, const Callable &p_drop) { data.forward_drag = p_drag; data.forward_can_drop = p_can_drop; |