Changed: Minor changes

This commit is contained in:
kervala 2016-05-26 19:32:59 +02:00
parent 1b0f68c6bb
commit 54f2ba14d7

View file

@ -673,18 +673,16 @@ CConfigFile::InstallationStep CConfigFile::getNextStep() const
{
return ExtractBnpClient;
}
else
QString clientFile = getInstallationDirectory() + "/" + server.clientDownloadFilename;
// when file is not finished, it has .part extension
if (!QFile::exists(clientFile))
{
QString clientFile = getInstallationDirectory() + "/" + server.clientDownloadFilename;
// when file is not finished, it has .part extension
if (!QFile::exists(clientFile))
{
return DownloadClient;
}
return ExtractDownloadedClient;
return DownloadClient;
}
return ExtractDownloadedClient;
}
}