Process correctly the return value of the confirm dialog.

Update the backup usage label after deleting an entry.
Update the parent metadata size after deleting a node.
This commit is contained in:
codestation
2013-08-29 12:28:40 -04:30
parent b34b2f63f4
commit e44c3bca28
5 changed files with 17 additions and 9 deletions

View File

@@ -184,11 +184,12 @@ bool CMAObject::removeReferencedObject()
}
}
void CMAObject::updateObjectSize(unsigned long size)
void CMAObject::updateObjectSize(qint64 size)
{
if(parent) {
parent->updateObjectSize(size);
}
//FIXME: size should be quint64
metadata.size += size;
}