diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-06-01 21:06:52 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-06-01 21:06:52 +0200 |
| commit | 2c20a4115d0fdc4ce81787d8d78bd06fbf838b25 (patch) | |
| tree | 25d60bd64d079764190852a44caac8584e6904ec /src/installationmanager.h | |
| parent | af0c0dc33e639f116aaa5c0ac4f2541a80106099 (diff) | |
Fix opening and extraction of archives with passwords and/or encrypted filenames.
Diffstat (limited to 'src/installationmanager.h')
| -rw-r--r-- | src/installationmanager.h | 13 |
1 files changed, 11 insertions, 2 deletions
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<std::shared_ptr<const MOBase::FileTreeEntry>, QString> m_CreatedFiles; |
