summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/editor/editor_autoload_settings.cpp2
-rw-r--r--tools/editor/editor_autoload_settings.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/editor/editor_autoload_settings.cpp b/tools/editor/editor_autoload_settings.cpp
index 1cf0090e7e..97062b1480 100644
--- a/tools/editor/editor_autoload_settings.cpp
+++ b/tools/editor/editor_autoload_settings.cpp
@@ -36,8 +36,6 @@
#define PREVIEW_LIST_MAX_SIZE 10
-StringName EditorAutoloadSettings::autoload_changed = StringName();
-
void EditorAutoloadSettings::_notification(int p_what) {
if (p_what == NOTIFICATION_ENTER_TREE) {
diff --git a/tools/editor/editor_autoload_settings.h b/tools/editor/editor_autoload_settings.h
index b8825f807c..b61c44b9c2 100644
--- a/tools/editor/editor_autoload_settings.h
+++ b/tools/editor/editor_autoload_settings.h
@@ -44,7 +44,7 @@ class EditorAutoloadSettings : public VBoxContainer {
BUTTON_DELETE
};
- static StringName autoload_changed;
+ String autoload_changed;
struct AutoLoadInfo {
String name;