Restore some changes.
This commit is contained in:
parent
c19bda4416
commit
e6fdde10eb
|
@ -236,11 +236,8 @@ void CSandBoxPlus::UpdateSize()
|
||||||
|
|
||||||
void CSandBoxPlus::SetSize(quint64 Size)
|
void CSandBoxPlus::SetSize(quint64 Size)
|
||||||
{
|
{
|
||||||
m_TotalSize = Size;
|
m_TotalSize = Size;
|
||||||
if (m_TotalSize == 0)
|
theConf->SetValue("SizeCache/" + m_Name, Size);
|
||||||
theConf->DelValue("SizeCache/" + m_Name);
|
|
||||||
else
|
|
||||||
theConf->SetValue("SizeCache/" + m_Name, Size);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CSandBoxPlus::IsSizePending() const
|
bool CSandBoxPlus::IsSizePending() const
|
||||||
|
|
|
@ -1215,7 +1215,6 @@ void CSbieView::OnSandBoxAction(QAction* Action, const QList<CSandBoxPtr>& SandB
|
||||||
if (!Status.IsError())
|
if (!Status.IsError())
|
||||||
{
|
{
|
||||||
RenameItem(OldValue, Value);
|
RenameItem(OldValue, Value);
|
||||||
theConf->DelValue("SizeCache/" + OldValue);
|
|
||||||
}
|
}
|
||||||
Results.append(Status);
|
Results.append(Status);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue