mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Remove some redundant default values
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
755ddd0f7f
commit
6475ce6623
2 changed files with 2 additions and 2 deletions
|
|
@ -270,7 +270,7 @@ void HttpMetaCache::Load()
|
|||
foo->m_local_changed_timestamp = element_obj["last_changed_timestamp"].toDouble();
|
||||
foo->m_remote_changed_timestamp = element_obj["remote_changed_timestamp"].toString();
|
||||
|
||||
foo->makeEternal(element_obj[QStringLiteral("eternal")].toBool(false));
|
||||
foo->makeEternal(element_obj[QStringLiteral("eternal")].toBool());
|
||||
if (!foo->isEternal()) {
|
||||
foo->m_current_age = element_obj["current_age"].toDouble();
|
||||
foo->m_max_age = element_obj["max_age"].toDouble();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue