From 227aaaae92b8bd8aeefd40b7e4ded25f213eed5c Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 26 May 2016 19:32:59 +0200 Subject: [PATCH] Changed: Minor changes --- .../client/ryzom_installer/src/configfile.cpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp index 5fedf1426..2ade8809c 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp @@ -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; } }