summaryrefslogtreecommitdiff
path: root/src/selfupdater.h
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-09-27 13:29:04 +0100
committerThomas Tanner <trtanner@btinternet.com>2015-09-27 13:29:04 +0100
commit2fb491711188d413f65bdd8193644d25ae03c2c2 (patch)
tree1b1e46b30d886ee0121ed4d8fc2354753eea9d29 /src/selfupdater.h
parent364c385f1a5f71c3eb6a80b44c26ddd7af012ec8 (diff)
Changes to go with cleaned up archive library
Diffstat (limited to 'src/selfupdater.h')
-rw-r--r--src/selfupdater.h9
1 files changed, 3 insertions, 6 deletions
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;
};