From 2fb491711188d413f65bdd8193644d25ae03c2c2 Mon Sep 17 00:00:00 2001 From: Thomas Tanner Date: Sun, 27 Sep 2015 13:29:04 +0100 Subject: Changes to go with cleaned up archive library --- src/selfupdater.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/selfupdater.h') diff --git a/src/selfupdater.h b/src/selfupdater.h index b5bbc406..ac9bddb3 100644 --- a/src/selfupdater.h +++ b/src/selfupdater.h @@ -65,7 +65,7 @@ public: * @param parent parent widget * @todo passing the nexus interface is unneccessary **/ - SelfUpdater(NexusInterface *nexusInterface); + explicit SelfUpdater(NexusInterface *nexusInterface); virtual ~SelfUpdater(); @@ -115,10 +115,7 @@ private: void download(const QString &downloadLink, const QString &fileName); void installUpdate(); - void queryPassword(LPSTR password); - void updateProgress(float percentage); - void updateProgressFile(LPCWSTR fileName); - void report7ZipError(LPCWSTR errorMessage); + void report7ZipError(const QString &errorMessage); QString retrieveNews(const QString &description); void showProgress(); @@ -142,7 +139,7 @@ private: bool m_Canceled; int m_Attempts; - Archive *m_CurrentArchive; + Archive *m_ArchiveHandler; }; -- cgit v1.3.1