Remove cached .tpz archive after templates download and install

Closes #20640.
This commit is contained in:
Rémi Verschelde
2018-08-13 12:46:02 +02:00
parent ec1e8843cf
commit 812d0aba42
2 changed files with 17 additions and 7 deletions

View File

@ -70,7 +70,7 @@ class ExportTemplateManager : public ConfirmationDialog {
void _uninstall_template_confirm();
virtual void ok_pressed();
void _install_from_file(const String &p_file, bool p_use_progress = true);
bool _install_from_file(const String &p_file, bool p_use_progress = true);
void _http_download_mirror_completed(int p_status, int p_code, const PoolStringArray &headers, const PoolByteArray &p_data);
void _http_download_templates_completed(int p_status, int p_code, const PoolStringArray &headers, const PoolByteArray &p_data);