Changed: Minor changes

This commit is contained in:
kervala 2016-05-26 19:32:59 +02:00
parent 0da225bc83
commit 227aaaae92

View file

@ -673,18 +673,16 @@ CConfigFile::InstallationStep CConfigFile::getNextStep() const
{ {
return ExtractBnpClient; 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; return DownloadClient;
// when file is not finished, it has .part extension
if (!QFile::exists(clientFile))
{
return DownloadClient;
}
return ExtractDownloadedClient;
} }
return ExtractDownloadedClient;
} }
} }