summaryrefslogtreecommitdiff
path: root/src/selfupdater.h
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-12-05 12:49:12 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-12-05 12:49:12 +0000
commitc2ed844eeb2d213a72c405eb47e077da00f084fe (patch)
tree647441b712dbe79caacf385395b04fd8ee94b66c /src/selfupdater.h
parentc07e48075e86c855f147e084a50ee1c7f0c00e40 (diff)
parent688e149c96c29d8249c9db416f5773cfc7baad6d (diff)
Merge remote-tracking branch 'remotes/TanninOne/master' into issue/356
Conflicts: src/downloadmanager.cpp src/mainwindow.cpp src/modinfo.cpp src/modinfo.h src/selfupdater.cpp src/shared/fallout3info.cpp src/shared/fallout3info.h src/shared/falloutnvinfo.cpp src/shared/falloutnvinfo.h src/shared/gameinfo.h src/shared/oblivioninfo.cpp src/shared/oblivioninfo.h src/shared/skyriminfo.cpp src/shared/skyriminfo.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 4fdc3d7d..446778fb 100644
--- a/src/selfupdater.h
+++ b/src/selfupdater.h
@@ -67,7 +67,7 @@ public:
* @param parent parent widget
* @todo passing the nexus interface is unneccessary
**/
- SelfUpdater(NexusInterface *nexusInterface);
+ explicit SelfUpdater(NexusInterface *nexusInterface);
virtual ~SelfUpdater();
@@ -120,10 +120,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();
@@ -148,7 +145,7 @@ private:
bool m_Canceled;
int m_Attempts;
- Archive *m_CurrentArchive;
+ Archive *m_ArchiveHandler;
MOBase::IPluginGame const *m_NexusDownload;
};