mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Changed: Computes size of servers
--HG-- branch : develop
This commit is contained in:
parent
443355b6c8
commit
061ead00f4
1 changed files with 1 additions and 1 deletions
|
@ -949,7 +949,7 @@ bool COperationDialog::createAddRemoveEntry()
|
||||||
settings.setValue("DisplayIcon", nativeFullPath + ",0");
|
settings.setValue("DisplayIcon", nativeFullPath + ",0");
|
||||||
settings.setValue("DisplayName", QApplication::applicationName());
|
settings.setValue("DisplayName", QApplication::applicationName());
|
||||||
settings.setValue("DisplayVersion", RYZOM_VERSION);
|
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("InstallDate", QDateTime::currentDateTime().toString("Ymd"));
|
||||||
settings.setValue("InstallLocation", config->getInstallationDirectory());
|
settings.setValue("InstallLocation", config->getInstallationDirectory());
|
||||||
settings.setValue("MajorVersion", versionTokens[0].toInt());
|
settings.setValue("MajorVersion", versionTokens[0].toInt());
|
||||||
|
|
Loading…
Reference in a new issue