From 3df8c752277a17e01125e776a5c4a11192e3f5e5 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 3 Oct 2016 17:20:25 +0200 Subject: [PATCH] Changed: Call updateAddRemoveEntry() instead of setting details twice --HG-- branch : develop --- .../tools/client/ryzom_installer/src/operationdialog.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp index b05cb52d4..5f075d07a 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp @@ -952,12 +952,8 @@ bool COperationDialog::createAddRemoveEntry() settings.setValue("Comments", config->getProductComments()); settings.setValue("DisplayIcon", nativeFullPath + ",0"); settings.setValue("DisplayName", QApplication::applicationName()); - settings.setValue("DisplayVersion", RYZOM_VERSION); - settings.setValue("EstimatedSize", getDirectorySize(config->getInstallationDirectory(), true)); settings.setValue("InstallDate", QDateTime::currentDateTime().toString("Ymd")); settings.setValue("InstallLocation", config->getInstallationDirectory()); - settings.setValue("MajorVersion", versionTokens[0].toInt()); - settings.setValue("MinorVersion", versionTokens[1].toInt()); settings.setValue("NoModify", 0); settings.setValue("NoRemove", 0); settings.setValue("NoRepair", 0); @@ -972,6 +968,8 @@ bool COperationDialog::createAddRemoveEntry() } } + updateAddRemoveEntry(); + emit done(); return true;