summaryrefslogtreecommitdiff
path: root/editor/reparent_dialog.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-20 11:30:56 +0100
committerGitHub <noreply@github.com>2020-02-20 11:30:56 +0100
commitbd61281a5f515065b05be008dd3d6b73a03f5a7c (patch)
tree0add52fc270f808b4b2ad0bf7c970d72338c667e /editor/reparent_dialog.cpp
parent1a4be2cd8fdd9ba26f016f3e2d83febfe8ae141c (diff)
parent69c95f4b4c128a22777af1e155bc24c7033decca (diff)
Merge pull request #36368 from reduz/variant-rework
Reworked signal system, added support for Callable and Signal
Diffstat (limited to 'editor/reparent_dialog.cpp')
-rw-r--r--editor/reparent_dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/reparent_dialog.cpp b/editor/reparent_dialog.cpp
index dd35f41b7a..7c99f5d520 100644
--- a/editor/reparent_dialog.cpp
+++ b/editor/reparent_dialog.cpp
@@ -38,12 +38,12 @@ void ReparentDialog::_notification(int p_what) {
if (p_what == NOTIFICATION_ENTER_TREE) {
- connect("confirmed", this, "_reparent");
+ connect_compat("confirmed", this, "_reparent");
}
if (p_what == NOTIFICATION_EXIT_TREE) {
- disconnect("confirmed", this, "_reparent");
+ disconnect_compat("confirmed", this, "_reparent");
}
if (p_what == NOTIFICATION_DRAW) {
@@ -93,7 +93,7 @@ ReparentDialog::ReparentDialog() {
vbc->add_margin_child(TTR("Reparent Location (Select new Parent):"), tree, true);
- tree->get_scene_tree()->connect("item_activated", this, "_reparent");
+ tree->get_scene_tree()->connect_compat("item_activated", this, "_reparent");
//Label *label = memnew( Label );
//label->set_position( Point2( 15,8) );