summaryrefslogtreecommitdiff
path: root/src/selfupdater.cpp
diff options
context:
space:
mode:
authorTannin <sherb@gmx.net>2015-11-17 18:58:00 +0100
committerTannin <sherb@gmx.net>2015-11-17 18:58:00 +0100
commit7f4f4cafea5a196ddf824adf7c4e65cec5d44d88 (patch)
tree64f47f30b6958c5a0aaf8f7394e8d32c5e765044 /src/selfupdater.cpp
parent7d93a9a2003f31188e4da8cbcd7e5df0352bb900 (diff)
first work on interfacing with usvfs
Diffstat (limited to 'src/selfupdater.cpp')
-rw-r--r--src/selfupdater.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp
index bcf81cfd..270e2764 100644
--- a/src/selfupdater.cpp
+++ b/src/selfupdater.cpp
@@ -75,8 +75,6 @@ SelfUpdater::SelfUpdater(NexusInterface *nexusInterface)
throw MyException(InstallationManager::getErrorString(m_CurrentArchive->getLastError()));
}
- connect(m_Progress, SIGNAL(canceled()), this, SLOT(downloadCancel()));
-
VS_FIXEDFILEINFO version = GetFileVersion(ToWString(QApplication::applicationFilePath()));
m_MOVersion = VersionInfo(version.dwFileVersionMS >> 16,
@@ -135,6 +133,7 @@ void SelfUpdater::showProgress()
{
if (m_Progress == nullptr) {
m_Progress = new QProgressDialog(m_Parent, Qt::Dialog);
+ connect(m_Progress, SIGNAL(canceled()), this, SLOT(downloadCancel()));
}
m_Progress->setModal(true);
m_Progress->show();