summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-06-01 17:12:20 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-06-01 17:12:20 +0200
commit4b1b897a140589426c9325f040feee741798c167 (patch)
tree8bedb7b5bfe1f9ac3a9ba2d6f7e2cf6a5d668632 /src/installationmanager.h
parent70fe708474ff236bdb1ace78fdbdebec6fdd5e5a (diff)
Use a single extractFiles() method and avoir member variables when not needed.
Diffstat (limited to 'src/installationmanager.h')
-rw-r--r--src/installationmanager.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h
index cb355641..3d0dd35f 100644
--- a/src/installationmanager.h
+++ b/src/installationmanager.h
@@ -244,7 +244,7 @@ private:
* @return true if the extraction was successful, false if the extraciton was
* cancelled. If an error occured, an exception is thrown.
*/
- bool extractFiles(QDir extractPath);
+ bool extractFiles(QString extractPath, QString title, bool showFilenames);
private:
@@ -260,16 +260,10 @@ private:
Archive *m_ArchiveHandler;
QString m_CurrentFile;
- QString m_ErrorMessage;
// 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;
-
- QProgressDialog *m_InstallationProgress { nullptr };
- int m_Progress;
- QString m_ProgressFile;
-
std::set<QString> m_TempFilesToDelete;
QString m_URL;