diff options
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r-- | editor/editor_settings.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 1cf3a4e0c4..0956d12236 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -998,6 +998,13 @@ const String EditorSettings::_get_project_metadata_path() const { return EditorPaths::get_singleton()->get_project_settings_dir().path_join("project_metadata.cfg"); } +#ifndef DISABLE_DEPRECATED +void EditorSettings::_remove_deprecated_settings() { + erase("run/output/always_open_output_on_play"); + erase("run/output/always_close_output_on_stop"); +} +#endif + // PUBLIC METHODS EditorSettings *EditorSettings::get_singleton() { @@ -1078,6 +1085,9 @@ void EditorSettings::create() { singleton->setup_network(); singleton->load_favorites_and_recent_dirs(); singleton->list_text_editor_themes(); +#ifndef DISABLE_DEPRECATED + singleton->_remove_deprecated_settings(); +#endif return; } |