summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFranklin Sobrinho <franklin_gs@hotmail.com>2016-07-14 12:05:22 -0300
committerFranklin Sobrinho <franklin_gs@hotmail.com>2016-07-14 12:08:40 -0300
commit8772b8ea85278f67832a34e51724720c46916f27 (patch)
tree63b6c4a275d11fda385ea757c44505a9817e2495 /tools
parent19d9fac4ed3c9048423cb655fcd55eaade78de3b (diff)
Fix Orphan StringName on EditorAutoloadSettings class
Diffstat (limited to 'tools')
-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;