ソースを参照

Fix Orphan StringName on EditorAutoloadSettings class

Franklin Sobrinho 9 年 前
コミット
8772b8ea85

+ 0 - 2
tools/editor/editor_autoload_settings.cpp

@@ -36,8 +36,6 @@
 
 
 #define PREVIEW_LIST_MAX_SIZE 10
 #define PREVIEW_LIST_MAX_SIZE 10
 
 
-StringName EditorAutoloadSettings::autoload_changed = StringName();
-
 void EditorAutoloadSettings::_notification(int p_what) {
 void EditorAutoloadSettings::_notification(int p_what) {
 
 
 	if (p_what == NOTIFICATION_ENTER_TREE) {
 	if (p_what == NOTIFICATION_ENTER_TREE) {

+ 1 - 1
tools/editor/editor_autoload_settings.h

@@ -44,7 +44,7 @@ class EditorAutoloadSettings : public VBoxContainer {
 		BUTTON_DELETE
 		BUTTON_DELETE
 	};
 	};
 
 
-	static StringName autoload_changed;
+	String autoload_changed;
 
 
 	struct AutoLoadInfo {
 	struct AutoLoadInfo {
 		String name;
 		String name;