summaryrefslogtreecommitdiffstats
path: root/editor/plugins/resource_preloader_editor_plugin.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-01-14 03:37:19 +0100
committerkobewi <kobewi4e@gmail.com>2023-01-14 15:16:51 +0100
commit59ea36b87cb84ce40ebf702e65f0493dd1c40141 (patch)
tree40d0e845a87ccf5aa013e75c437912d55a1d1f77 /editor/plugins/resource_preloader_editor_plugin.cpp
parenta51ca2beafc5d74d3e62cb56fbba76ceb39160a3 (diff)
downloadredot-engine-59ea36b87cb84ce40ebf702e65f0493dd1c40141.tar.gz
Remove set_drag_forwarding_compat()
Diffstat (limited to 'editor/plugins/resource_preloader_editor_plugin.cpp')
-rw-r--r--editor/plugins/resource_preloader_editor_plugin.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/editor/plugins/resource_preloader_editor_plugin.cpp b/editor/plugins/resource_preloader_editor_plugin.cpp
index 2a5529e229..879321bb18 100644
--- a/editor/plugins/resource_preloader_editor_plugin.cpp
+++ b/editor/plugins/resource_preloader_editor_plugin.cpp
@@ -342,10 +342,6 @@ void ResourcePreloaderEditor::drop_data_fw(const Point2 &p_point, const Variant
void ResourcePreloaderEditor::_bind_methods() {
ClassDB::bind_method(D_METHOD("_update_library"), &ResourcePreloaderEditor::_update_library);
ClassDB::bind_method(D_METHOD("_remove_resource", "to_remove"), &ResourcePreloaderEditor::_remove_resource);
-
- ClassDB::bind_method(D_METHOD("_get_drag_data_fw"), &ResourcePreloaderEditor::get_drag_data_fw);
- ClassDB::bind_method(D_METHOD("_can_drop_data_fw"), &ResourcePreloaderEditor::can_drop_data_fw);
- ClassDB::bind_method(D_METHOD("_drop_data_fw"), &ResourcePreloaderEditor::drop_data_fw);
}
ResourcePreloaderEditor::ResourcePreloaderEditor() {
@@ -379,7 +375,7 @@ ResourcePreloaderEditor::ResourcePreloaderEditor() {
tree->set_column_expand(1, true);
tree->set_v_size_flags(SIZE_EXPAND_FILL);
- tree->set_drag_forwarding_compat(this);
+ SET_DRAG_FORWARDING_GCD(tree, ResourcePreloaderEditor);
vbc->add_child(tree);
dialog = memnew(AcceptDialog);