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 /editor/export | |
parent | 3f10f9f5ef3d75bbbbdd57b7ac8b86972138f679 (diff) | |
parent | 59ea36b87cb84ce40ebf702e65f0493dd1c40141 (diff) |
Merge pull request #71379 from KoBeWi/destruction_of_compatibility_function
Remove set_drag_forwarding_compat()
Diffstat (limited to 'editor/export')
-rw-r--r-- | editor/export/project_export.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp index 7136b4ceb6..e099acca00 100644 --- a/editor/export/project_export.cpp +++ b/editor/export/project_export.cpp @@ -979,9 +979,6 @@ void ProjectExportDialog::_export_all(bool p_debug) { } void ProjectExportDialog::_bind_methods() { - ClassDB::bind_method("_get_drag_data_fw", &ProjectExportDialog::get_drag_data_fw); - ClassDB::bind_method("_can_drop_data_fw", &ProjectExportDialog::can_drop_data_fw); - ClassDB::bind_method("_drop_data_fw", &ProjectExportDialog::drop_data_fw); ClassDB::bind_method("_export_all", &ProjectExportDialog::_export_all); ClassDB::bind_method("set_export_path", &ProjectExportDialog::set_export_path); ClassDB::bind_method("get_export_path", &ProjectExportDialog::get_export_path); @@ -1022,8 +1019,7 @@ ProjectExportDialog::ProjectExportDialog() { preset_vb->add_child(mc); mc->set_v_size_flags(Control::SIZE_EXPAND_FILL); presets = memnew(ItemList); - // TODO: Must reimplement drag forwarding. - //presets->set_drag_forwarding_compat(this); + SET_DRAG_FORWARDING_GCD(presets, ProjectExportDialog); mc->add_child(presets); presets->connect("item_selected", callable_mp(this, &ProjectExportDialog::_edit_preset)); duplicate_preset = memnew(Button); |