From 2c20a4115d0fdc4ce81787d8d78bd06fbf838b25 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Mon, 1 Jun 2020 21:06:52 +0200 Subject: Fix opening and extraction of archives with passwords and/or encrypted filenames. --- src/installationmanager.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/installationmanager.h') diff --git a/src/installationmanager.h b/src/installationmanager.h index 67e58356..328272e1 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -204,10 +204,16 @@ private: void postInstallCleanup(); +private slots: + + /** + * @brief Query user for password and update the m_Password field. + */ + void queryPassword(); + signals: - void progressUpdate(float percentage); - void progressUpdate(QString const fileName); + void passwordRequested(); private: @@ -253,6 +259,9 @@ private: Archive *m_ArchiveHandler; QString m_CurrentFile; + // Current password: + QString m_Password; + // Map from entries in the tree that is used by the installer and absolute // paths to temporary files: std::map, QString> m_CreatedFiles; -- cgit v1.3.1