mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04:00
fixed updating save filename, removal of files/dirs, and cleaning before save
This commit is contained in:
parent
2ebd7617fc
commit
a02d2e63e2
3 changed files with 20 additions and 5 deletions
|
@ -681,5 +681,9 @@ bool RsCollection::removeDirectory(RsFileTree::DirIndex index_to_remove,RsFileTr
|
|||
|
||||
void RsCollection::cleanup()
|
||||
{
|
||||
RsDbg() << "Cleaning up RsCollection with " << mFileTree->numDirs() << " dirs and " << mFileTree->numFiles() << " files." ;
|
||||
|
||||
mFileTree = RsFileTree::fromTreeCleaned(*mFileTree);
|
||||
|
||||
RsDbg() << "Simplified to " << mFileTree->numDirs() << " dirs and " << mFileTree->numFiles() << " files.";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue