summaryrefslogtreecommitdiff
path: root/editor/export
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2023-01-18 17:40:13 +0100
committerGitHub <noreply@github.com>2023-01-18 17:40:13 +0100
commitbcaf048f33b21b2c26d1c861200231f23d7849db (patch)
tree1fcd45d5e67befd03905e2fd0e94e11cae60052b /editor/export
parent3f10f9f5ef3d75bbbbdd57b7ac8b86972138f679 (diff)
parent59ea36b87cb84ce40ebf702e65f0493dd1c40141 (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.cpp6
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);