From 14ad5b9db9ef4023a07aa1965cd93c7ec01f98bb Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Sat, 24 Jan 2015 20:49:19 -0600 Subject: [PATCH] Fixed compilation error --- QSimpleUpdater/src/qsimpleupdater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QSimpleUpdater/src/qsimpleupdater.cpp b/QSimpleUpdater/src/qsimpleupdater.cpp index 6e0d83d..8ba460e 100644 --- a/QSimpleUpdater/src/qsimpleupdater.cpp +++ b/QSimpleUpdater/src/qsimpleupdater.cpp @@ -426,12 +426,12 @@ void QSimpleUpdater::checkDownloadedVersion (QNetworkReply *reply) { } } } - - m_new_version_available = _new_update; else showErrorMessage(); + m_new_version_available = _new_update; + if (!m_changelog_url.isEmpty() && newerVersionAvailable()) { QNetworkAccessManager *_manager = new QNetworkAccessManager (this);