diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-23 20:39:29 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-31 18:54:04 +0100 |
commit | b342dcdf04790e320a1f445a8cdae7449065b9e1 (patch) | |
tree | 1bf3f18f621d8cd52e92ac7d6df7d36680563ecc /editor | |
parent | 2b710bc336a02ace95eb0588f3b0744923faf004 (diff) |
Remove some unused signals
Part of #37604.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/animation_track_editor.cpp | 1 | ||||
-rw-r--r-- | editor/code_editor.cpp | 1 | ||||
-rw-r--r-- | editor/editor_help.cpp | 4 | ||||
-rw-r--r-- | editor/editor_help.h | 2 | ||||
-rw-r--r-- | editor/editor_log.cpp | 5 | ||||
-rw-r--r-- | editor/editor_log.h | 1 | ||||
-rw-r--r-- | editor/editor_node.cpp | 1 |
7 files changed, 0 insertions, 15 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 8dd087451c..ee4163bc14 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -2986,7 +2986,6 @@ bool AnimationTrackEdit::can_drop_data(const Point2 &p_point, const Variant &p_d } const_cast<AnimationTrackEdit *>(this)->queue_redraw(); - const_cast<AnimationTrackEdit *>(this)->emit_signal(SNAME("drop_attempted"), track); return true; } diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 28d687488c..b217cd57bf 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -670,7 +670,6 @@ void FindReplaceBar::set_text_edit(CodeTextEditor *p_text_editor) { void FindReplaceBar::_bind_methods() { ClassDB::bind_method("_search_current", &FindReplaceBar::search_current); - ADD_SIGNAL(MethodInfo("search")); ADD_SIGNAL(MethodInfo("error")); } diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index e11251596a..bb7098643a 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -2448,10 +2448,6 @@ void FindBar::_notification(int p_what) { } } -void FindBar::_bind_methods() { - ADD_SIGNAL(MethodInfo("search")); -} - void FindBar::set_rich_text_label(RichTextLabel *p_rich_text_label) { rich_text_label = p_rich_text_label; } diff --git a/editor/editor_help.h b/editor/editor_help.h index 9be17143c7..81cd6d6674 100644 --- a/editor/editor_help.h +++ b/editor/editor_help.h @@ -72,8 +72,6 @@ protected: bool _search(bool p_search_previous = false); - static void _bind_methods(); - public: void set_rich_text_label(RichTextLabel *p_rich_text_label); diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp index 550c57121e..296181f79d 100644 --- a/editor/editor_log.cpp +++ b/editor/editor_log.cpp @@ -360,11 +360,6 @@ void EditorLog::_reset_message_counts() { } } -void EditorLog::_bind_methods() { - ADD_SIGNAL(MethodInfo("clear_request")); - ADD_SIGNAL(MethodInfo("copy_request")); -} - EditorLog::EditorLog() { save_state_timer = memnew(Timer); save_state_timer->set_wait_time(2); diff --git a/editor/editor_log.h b/editor/editor_log.h index 7a3c1c01b7..b875066afa 100644 --- a/editor/editor_log.h +++ b/editor/editor_log.h @@ -178,7 +178,6 @@ private: void _update_theme(); protected: - static void _bind_methods(); void _notification(int p_what); public: diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 0405749147..993e281797 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -6467,7 +6467,6 @@ void EditorNode::_bind_methods() { ClassDB::bind_method(D_METHOD("get_gui_base"), &EditorNode::get_gui_base); ADD_SIGNAL(MethodInfo("play_pressed")); - ADD_SIGNAL(MethodInfo("pause_pressed")); ADD_SIGNAL(MethodInfo("stop_pressed")); ADD_SIGNAL(MethodInfo("request_help_search")); ADD_SIGNAL(MethodInfo("script_add_function_request", PropertyInfo(Variant::OBJECT, "obj"), PropertyInfo(Variant::STRING, "function"), PropertyInfo(Variant::PACKED_STRING_ARRAY, "args"))); |