From 96f54a170eb0d180993b6ed6bee7baa365e04dcf Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Mon, 24 Aug 2015 22:49:45 +0200 Subject: [PATCH] Make the update checker fetch new signature (".sig2") file. --- src/UpdateChecker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UpdateChecker.cpp b/src/UpdateChecker.cpp index 341af86..aba6459 100644 --- a/src/UpdateChecker.cpp +++ b/src/UpdateChecker.cpp @@ -535,13 +535,13 @@ bool UpdateChecker::tryUpdateMirror(UpdateCheckerInfo *updateInfo, const QString bool UpdateChecker::getUpdateInfo(const QString &url, const QString &outFileVers, const QString &outFileSign) { log("", "Downloading update info:"); - if(!getFile(QString("%1%2" ).arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileVers)) + if(!getFile(QString("%1%2" ).arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileVers)) { return false; } log("", "Downloading signature:"); - if(!getFile(QString("%1%2.sig").arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileSign)) + if(!getFile(QString("%1%2.sig2").arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileSign)) { return false; }