From 4b1b897a140589426c9325f040feee741798c167 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Mon, 1 Jun 2020 17:12:20 +0200 Subject: Use a single extractFiles() method and avoir member variables when not needed. --- src/installationmanager.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/installationmanager.h') 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, QString> m_CreatedFiles; - - QProgressDialog *m_InstallationProgress { nullptr }; - int m_Progress; - QString m_ProgressFile; - std::set m_TempFilesToDelete; QString m_URL; -- cgit v1.3.1