summaryrefslogtreecommitdiff
path: root/src/selfupdater.h
diff options
context:
space:
mode:
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;
};