mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 16:56:19 +00:00
Changed: Call updateAddRemoveEntry() instead of setting details twice
This commit is contained in:
parent
07605db8ff
commit
6b045194ed
1 changed files with 2 additions and 4 deletions
|
@ -952,12 +952,8 @@ bool COperationDialog::createAddRemoveEntry()
|
||||||
settings.setValue("Comments", config->getProductComments());
|
settings.setValue("Comments", config->getProductComments());
|
||||||
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("EstimatedSize", getDirectorySize(config->getInstallationDirectory(), true));
|
|
||||||
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("MinorVersion", versionTokens[1].toInt());
|
|
||||||
settings.setValue("NoModify", 0);
|
settings.setValue("NoModify", 0);
|
||||||
settings.setValue("NoRemove", 0);
|
settings.setValue("NoRemove", 0);
|
||||||
settings.setValue("NoRepair", 0);
|
settings.setValue("NoRepair", 0);
|
||||||
|
@ -972,6 +968,8 @@ bool COperationDialog::createAddRemoveEntry()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
updateAddRemoveEntry();
|
||||||
|
|
||||||
emit done();
|
emit done();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue