Some improvements
This commit is contained in:
parent
e43c35f6c3
commit
656adefb56
@ -158,7 +158,7 @@ void QSimpleUpdater::checkDownloadedVersion(QNetworkReply *reply) {
|
|||||||
|
|
||||||
// If the reply from the server is not empty, compare
|
// If the reply from the server is not empty, compare
|
||||||
// the downloaded version with the installed version
|
// the downloaded version with the installed version
|
||||||
if (!_reply.isEmpty()) {
|
if (!_reply.isEmpty() && _reply.contains(".")) {
|
||||||
|
|
||||||
// Replace the latest version string with the downloaded string
|
// Replace the latest version string with the downloaded string
|
||||||
m_latest_version = _reply;
|
m_latest_version = _reply;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user