Changed: If old installer doesn't return a version, overwrite it

--HG--
branch : develop
This commit is contained in:
kervala 2016-10-21 14:27:05 +02:00
parent 7ad0b610ba
commit 552e147c76

View file

@ -692,6 +692,9 @@ int CConfigFile::compareInstallersVersion() const
QString installedVersion = getVersionFromExecutable(installerDst);
// if unable to get version, copy it
if (installedVersion.isEmpty()) return 1;
nlinfo("%s version is %s", Q2C(installerDst), Q2C(installedVersion));
QString newVersion = QApplication::applicationVersion();