Changed: Minor changes

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

View file

@ -673,8 +673,7 @@ CConfigFile::InstallationStep CConfigFile::getNextStep() const
{ {
return ExtractBnpClient; return ExtractBnpClient;
} }
else
{
QString clientFile = getInstallationDirectory() + "/" + server.clientDownloadFilename; QString clientFile = getInstallationDirectory() + "/" + server.clientDownloadFilename;
// when file is not finished, it has .part extension // when file is not finished, it has .part extension
@ -686,7 +685,6 @@ CConfigFile::InstallationStep CConfigFile::getNextStep() const
return ExtractDownloadedClient; return ExtractDownloadedClient;
} }
} }
}
// if installer not found in installation directory, extract it from BNP // if installer not found in installation directory, extract it from BNP
if (!QFile::exists(getInstallationDirectory() + "/" + server.installerFilename)) if (!QFile::exists(getInstallationDirectory() + "/" + server.installerFilename))