From 656adefb568c0b8f2f70e838f1804110660ba4ad Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Sun, 2 Nov 2014 20:18:00 -0600 Subject: [PATCH] Some improvements --- QSimpleUpdater/src/qsimpleupdater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QSimpleUpdater/src/qsimpleupdater.cpp b/QSimpleUpdater/src/qsimpleupdater.cpp index 9c6569f..c26275d 100755 --- a/QSimpleUpdater/src/qsimpleupdater.cpp +++ b/QSimpleUpdater/src/qsimpleupdater.cpp @@ -158,7 +158,7 @@ void QSimpleUpdater::checkDownloadedVersion(QNetworkReply *reply) { // If the reply from the server is not empty, compare // the downloaded version with the installed version - if (!_reply.isEmpty()) { + if (!_reply.isEmpty() && _reply.contains(".")) { // Replace the latest version string with the downloaded string m_latest_version = _reply;