Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

EditorHelp: Remove empty `_class_desc_input()`

NoNormalDev4321b0c2aea3
diff --git a/editor/doc/editor_help.cpp b/editor/doc/editor_help.cpp
index c07f6d7c55d..a9ac676dcb9 100644
--- a/editor/doc/editor_help.cpp
+++ b/editor/doc/editor_help.cpp
@@ -391,9 +391,6 @@ void EditorHelp::_class_desc_select(const String &p_select) {
}
}
-void EditorHelp::_class_desc_input(const Ref<InputEvent> &p_input) {
-}
-
void EditorHelp::_class_desc_resized(bool p_force_update_theme) {
// Add extra horizontal margins for better readability.
// The margins increase as the width of the editor help container increases.
@@ -3535,7 +3532,6 @@ EditorHelp::EditorHelp() {
class_desc->connect(SceneStringName(finished), callable_mp(this, &EditorHelp::_class_desc_finished));
class_desc->connect("meta_clicked", callable_mp(this, &EditorHelp::_class_desc_select));
- class_desc->connect(SceneStringName(gui_input), callable_mp(this, &EditorHelp::_class_desc_input));
class_desc->connect(SceneStringName(resized), callable_mp(this, &EditorHelp::_class_desc_resized).bind(false));
// Added second so it opens at the bottom so it won't offset the entire widget.
diff --git a/editor/doc/editor_help.h b/editor/doc/editor_help.h
index 85dcfcaf034..0dc32d65370 100644
--- a/editor/doc/editor_help.h
+++ b/editor/doc/editor_help.h
@@ -174,7 +174,6 @@ class EditorHelp : public VBoxContainer {
void _class_desc_finished();
void _class_list_select(const String &p_select);
void _class_desc_select(const String &p_select);
- void _class_desc_input(const Ref<InputEvent> &p_input);
void _class_desc_resized(bool p_force_update_theme);
int display_margin = 0;