summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-02-14 14:00:03 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-02-15 14:54:15 +0100
commit11572c6e309692b62554ae852dfa8fb8943bcbd7 (patch)
tree32280e24a2957b4edf32157f40a43a602ff147fb /scene
parent1d910b1e5868814938d644ff181cf30d75516762 (diff)
Editor: Cleanup some includes dependencies
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/dialogs.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp
index 1cbe3adb3c..9297aeea08 100644
--- a/scene/gui/dialogs.cpp
+++ b/scene/gui/dialogs.cpp
@@ -33,12 +33,7 @@
#include "core/os/keyboard.h"
#include "core/string/print_string.h"
#include "core/string/translation.h"
-#include "line_edit.h"
-
-#ifdef TOOLS_ENABLED
-#include "editor/editor_node.h"
-#include "scene/main/window.h" // Only used to check for more modals when dimming the editor.
-#endif
+#include "scene/gui/line_edit.h"
// AcceptDialog