aboutsummaryrefslogtreecommitdiff
path: root/editor/connections_dialog.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-08-27 21:07:15 +0200
committerRémi Verschelde2017-08-27 22:13:45 +0200
commit7ad14e7a3e6f87ddc450f7e34621eb5200808451 (patch)
tree8804d0dd24cc126087462edfbbbf73ed61b56b0e /editor/connections_dialog.cpp
parent37da8155a4500a9386027b4d791a86186bc7ab4a (diff)
downloadgodot-7ad14e7a3e6f87ddc450f7e34621eb5200808451.tar.gz
godot-7ad14e7a3e6f87ddc450f7e34621eb5200808451.tar.zst
godot-7ad14e7a3e6f87ddc450f7e34621eb5200808451.zip
Diffstat (limited to 'editor/connections_dialog.cpp')
-rw-r--r--editor/connections_dialog.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp
index fde6a7a66..b4c2ac95c 100644
--- a/editor/connections_dialog.cpp
+++ b/editor/connections_dialog.cpp
@@ -113,33 +113,7 @@ void ConnectDialog::_tree_node_selected() {
make_callback->hide();
else
make_callback->show();
-#if 0
- List<MethodInfo> methods;
- current->get_method_list(&methods);
- for (List<MethodInfo>::Element *E=methods.front();E;E=E->next()) {
- if (E->get().name.length() && E->get().name[0]=='_')
- continue; // hidden method, not show!
-
- if (ClassDB::has_method(node->get_type(),"Node") || ClassDB::has_method(node->get_type(),"Control",true))
- continue; //avoid too much unnecessary stuff
-
- String method=E->get().name+"(";
- for(int i=0;i<E->get().arguments.size();i++) {
-
- if (i!=0)
- method+=", ";
- method+=Variant::get_type_name(E->get().arguments[i].type);
- if (E->get().arguments[i].name.length()) {
- method+=" ";
- method+=E->get().arguments[i].name;
- }
- }
- method+=")";
-
- //dst_method_list->get_popup()->add_item(method);
- }
-#endif
dst_path->set_text(node->get_path_to(current));
}