Remove unused code.

This commit is contained in:
Relintai 2022-10-11 12:19:37 +02:00
parent 911257b606
commit 829aeda5b1
2 changed files with 0 additions and 11 deletions

View File

@ -6822,15 +6822,6 @@ EditorNode::EditorNode() {
remove_android_build_template->connect("confirmed", this, "_menu_option", varray(FILE_EXPLORE_ANDROID_BUILD_TEMPLATES));
gui_base->add_child(remove_android_build_template);
file_templates = memnew(EditorFileDialog);
file_templates->set_title(TTR("Import Templates From ZIP File"));
gui_base->add_child(file_templates);
file_templates->set_mode(EditorFileDialog::MODE_OPEN_FILE);
file_templates->set_access(EditorFileDialog::ACCESS_FILESYSTEM);
file_templates->clear_filters();
file_templates->add_filter("*.tpz ; " + TTR("Template Package"));
file = memnew(EditorFileDialog);
gui_base->add_child(file);
file->set_current_dir("res://");
@ -6854,7 +6845,6 @@ EditorNode::EditorNode() {
settings_menu->get_popup()->connect("id_pressed", this, "_menu_option");
file->connect("file_selected", this, "_dialog_action");
file_templates->connect("file_selected", this, "_dialog_action");
preview_gen = memnew(AudioStreamPreviewGenerator);
add_child(preview_gen);

View File

@ -607,7 +607,6 @@ private:
ProjectSettingsEditor *project_settings;
EditorFileDialog *file;
ExportTemplateManager *export_template_manager;
EditorFileDialog *file_templates;
EditorFileDialog *file_script;
EditorFileDialog *file_android_build_source;
String current_path;