Revert "Add editor menu to open the project data "user://" location."

This commit is contained in:
Rémi Verschelde 2019-07-05 12:37:42 +02:00 committed by GitHub
parent 3676100964
commit 595763e0a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View file

@ -2458,10 +2458,6 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
settings_config_dialog->popup_edit_settings(); settings_config_dialog->popup_edit_settings();
} break; } break;
case SETTINGS_USER_DATA_FOLDER: {
OS::get_singleton()->shell_open(String("file://") + OS::get_singleton()->get_user_data_dir());
} break;
case SETTINGS_EDITOR_DATA_FOLDER: { case SETTINGS_EDITOR_DATA_FOLDER: {
OS::get_singleton()->shell_open(String("file://") + EditorSettings::get_singleton()->get_data_dir()); OS::get_singleton()->shell_open(String("file://") + EditorSettings::get_singleton()->get_data_dir());
@ -5955,7 +5951,6 @@ EditorNode::EditorNode() {
#endif #endif
p->add_separator(); p->add_separator();
p->add_item(TTR("Open User Data Folder"), SETTINGS_USER_DATA_FOLDER);
if (OS::get_singleton()->get_data_path() == OS::get_singleton()->get_config_path()) { if (OS::get_singleton()->get_data_path() == OS::get_singleton()->get_config_path()) {
// Configuration and data folders are located in the same place (Windows/macOS) // Configuration and data folders are located in the same place (Windows/macOS)
p->add_item(TTR("Open Editor Data/Settings Folder"), SETTINGS_EDITOR_DATA_FOLDER); p->add_item(TTR("Open Editor Data/Settings Folder"), SETTINGS_EDITOR_DATA_FOLDER);

View file

@ -189,7 +189,6 @@ private:
SETTINGS_LAYOUT_SAVE, SETTINGS_LAYOUT_SAVE,
SETTINGS_LAYOUT_DELETE, SETTINGS_LAYOUT_DELETE,
SETTINGS_LAYOUT_DEFAULT, SETTINGS_LAYOUT_DEFAULT,
SETTINGS_USER_DATA_FOLDER,
SETTINGS_EDITOR_DATA_FOLDER, SETTINGS_EDITOR_DATA_FOLDER,
SETTINGS_EDITOR_CONFIG_FOLDER, SETTINGS_EDITOR_CONFIG_FOLDER,
SETTINGS_MANAGE_EXPORT_TEMPLATES, SETTINGS_MANAGE_EXPORT_TEMPLATES,