From 73470a03959e172cc9ef2407c890502c7af9ec9c Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Sun, 2 Nov 2014 20:28:28 -0600 Subject: [PATCH] More bug fixes --- QSimpleUpdater/src/qsimpleupdater.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QSimpleUpdater/src/qsimpleupdater.cpp b/QSimpleUpdater/src/qsimpleupdater.cpp index cace42a..b07d0a9 100755 --- a/QSimpleUpdater/src/qsimpleupdater.cpp +++ b/QSimpleUpdater/src/qsimpleupdater.cpp @@ -155,6 +155,8 @@ void QSimpleUpdater::checkDownloadedVersion(QNetworkReply *reply) { // Read the reply from the server and transform it // to a QString QString _reply = QString::fromUtf8 (reply->readAll()); + _reply.replace(" ", ""); + _reply.replace("\n", ""); // If the reply from the server is not empty, compare // the downloaded version with the installed version