mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-18 05:50:39 -04:00
fixed bug causing RsCollection to fail on remote files. Now using RsCollectionDialog when downloading directories from friend shared files
This commit is contained in:
parent
c0951b301e
commit
5997c10495
10 changed files with 83 additions and 53 deletions
|
@ -2133,7 +2133,8 @@ void TransfersDialog::collCreate()
|
|||
std::set<RsFileHash>::iterator it ;
|
||||
getDLSelectedItems(&items, NULL);
|
||||
|
||||
for (it = items.begin(); it != items.end(); ++it) {
|
||||
for (it = items.begin(); it != items.end(); ++it)
|
||||
{
|
||||
FileInfo info;
|
||||
if (!rsFiles->FileDetails(*it, RS_FILE_HINTS_DOWNLOAD, info)) continue;
|
||||
|
||||
|
@ -2144,9 +2145,9 @@ void TransfersDialog::collCreate()
|
|||
details.type = DIR_TYPE_FILE;
|
||||
|
||||
dirVec.push_back(details);
|
||||
}//for (it = items.begin();
|
||||
}
|
||||
|
||||
RsCollection(dirVec).openNewColl(this);
|
||||
RsCollection(dirVec,RS_FILE_HINTS_LOCAL).openNewColl(this);
|
||||
}
|
||||
|
||||
void TransfersDialog::collModif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue