diff --git a/scene/gui/base_button.h b/scene/gui/base_button.h index 9a7dc3c7e..c738fead2 100644 --- a/scene/gui/base_button.h +++ b/scene/gui/base_button.h @@ -33,6 +33,7 @@ #include "scene/gui/control.h" +class ShortCut; class ButtonGroup; class BaseButton : public Control { diff --git a/scene/gui/control.h b/scene/gui/control.h index 0f0f98a12..ea4061b0a 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -44,7 +44,6 @@ class Shader; class StyleBox; class Font; class Node; -class ShortCut; class Timer; class Control : public CanvasItem { diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index f5a9db5d6..c131293a9 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -38,6 +38,7 @@ #include "label.h" #include "scene/main/timer.h" #include "scene/gui/popup_menu.h" +#include "scene/gui/shortcut.h" #ifdef TOOLS_ENABLED #include "editor/editor_scale.h"