Restore some changes.

This commit is contained in:
okrc 2022-09-16 15:37:22 +08:00 committed by GitHub
parent c19bda4416
commit e6fdde10eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -237,9 +237,6 @@ void CSandBoxPlus::UpdateSize()
void CSandBoxPlus::SetSize(quint64 Size)
{
m_TotalSize = Size;
if (m_TotalSize == 0)
theConf->DelValue("SizeCache/" + m_Name);
else
theConf->SetValue("SizeCache/" + m_Name, Size);
}

View File

@ -1215,7 +1215,6 @@ void CSbieView::OnSandBoxAction(QAction* Action, const QList<CSandBoxPtr>& SandB
if (!Status.IsError())
{
RenameItem(OldValue, Value);
theConf->DelValue("SizeCache/" + OldValue);
}
Results.append(Status);
}