More bug fixes

This commit is contained in:
Alex Spataru 2014-11-02 20:28:28 -06:00
parent 1e107b3b6e
commit 73470a0395

View File

@ -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