From 061ead00f4d2e9913a23a0a5c49d8f4a1c2ce478 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 19 Jun 2016 21:09:41 +0200 Subject: [PATCH] Changed: Computes size of servers --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp index f049f17a8..617c5f613 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp @@ -949,7 +949,7 @@ bool COperationDialog::createAddRemoveEntry() settings.setValue("DisplayIcon", nativeFullPath + ",0"); settings.setValue("DisplayName", QApplication::applicationName()); settings.setValue("DisplayVersion", RYZOM_VERSION); - settings.setValue("EstimatedSize", 1500000); // TODO: compute real size + settings.setValue("EstimatedSize", getDirectorySize(config->getInstallationDirectory())); settings.setValue("InstallDate", QDateTime::currentDateTime().toString("Ymd")); settings.setValue("InstallLocation", config->getInstallationDirectory()); settings.setValue("MajorVersion", versionTokens[0].toInt());