mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
make extra shared file list appear only when non empty
This commit is contained in:
parent
e1698429de
commit
54ec49dc03
@ -1078,6 +1078,8 @@ int p3FileDatabase::RequestDirDetails(void *ref, DirDetails& d, FileSearchFlags
|
|||||||
stub.ref = p;
|
stub.ref = p;
|
||||||
d.children.push_back(stub);
|
d.children.push_back(stub);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(mExtraFiles->size() > 0)
|
||||||
{
|
{
|
||||||
convertEntryIndexToPointer<sizeof(void*)>(0,1,p); // local shared files from extra list
|
convertEntryIndexToPointer<sizeof(void*)>(0,1,p); // local shared files from extra list
|
||||||
DirStub stub;
|
DirStub stub;
|
||||||
|
@ -122,6 +122,8 @@ public:
|
|||||||
std::string destpath);
|
std::string destpath);
|
||||||
|
|
||||||
|
|
||||||
|
uint32_t size() const { return mFiles.size() ; }
|
||||||
|
|
||||||
/***
|
/***
|
||||||
* Hash file, and add to the files,
|
* Hash file, and add to the files,
|
||||||
* file is removed after period.
|
* file is removed after period.
|
||||||
|
Loading…
Reference in New Issue
Block a user