Changed: Use application name instead of hardcoded value

This commit is contained in:
kervala 2016-06-19 21:09:26 +02:00
parent 5db13e35d4
commit c7fe2891fa

View file

@ -947,7 +947,7 @@ bool COperationDialog::createAddRemoveEntry()
settings.setValue("Comments", ""); settings.setValue("Comments", "");
settings.setValue("DisplayIcon", nativeFullPath + ",0"); settings.setValue("DisplayIcon", nativeFullPath + ",0");
settings.setValue("DisplayName", "Ryzom"); 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", 1500000); // TODO: compute real size
settings.setValue("InstallDate", QDateTime::currentDateTime().toString("Ymd")); settings.setValue("InstallDate", QDateTime::currentDateTime().toString("Ymd"));