From 54f2ba14d7f29d420a624e5d03faa0b47499748c 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; } }