summaryrefslogtreecommitdiff
path: root/src/selfupdater.h
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-12-05 10:21:44 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-12-05 10:21:44 +0000
commitec9c78f8fa49ce960fb708d4a140c44ed3130989 (patch)
treec6601b7045432caa5295b5cd1a4b51c6f19f5cb1 /src/selfupdater.h
parent7f9af7f93e1d06d021fd60bf4845d928f4a6bc38 (diff)
parent688e149c96c29d8249c9db416f5773cfc7baad6d (diff)
Merge remote-tracking branch 'TanninOne/master'
# Conflicts: # SConstruct # src/modinfo.cpp # src/modinfo.h
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 143b05cb..f804f63c 100644
--- a/src/selfupdater.h
+++ b/src/selfupdater.h
@@ -66,7 +66,7 @@ public:
* @param parent parent widget
* @todo passing the nexus interface is unneccessary
**/
- SelfUpdater(NexusInterface *nexusInterface);
+ explicit SelfUpdater(NexusInterface *nexusInterface);
virtual ~SelfUpdater();
@@ -116,10 +116,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();
void closeProgress();
@@ -144,7 +141,7 @@ private:
bool m_Canceled;
int m_Attempts;
- Archive *m_CurrentArchive;
+ Archive *m_ArchiveHandler;
};