mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-19 02:23:48 -05:00
removed dead code, and added check for incorrect file names when saving
This commit is contained in:
parent
20f4b51bb7
commit
8366cbca59
5 changed files with 44 additions and 1203 deletions
|
|
@ -840,16 +840,6 @@ void SharedFilesDialog::collOpen()
|
|||
if (qinfo.absoluteFilePath().endsWith(RsCollection::ExtensionString)) {
|
||||
|
||||
RsCollectionDialog::openExistingCollection(qinfo.absoluteFilePath(),true);
|
||||
#ifdef TO_REMOVE
|
||||
RsCollection::RsCollectionErrorCode err;
|
||||
RsCollection collection(qinfo.absoluteFilePath(),err);
|
||||
|
||||
if(err == RsCollection::RsCollectionErrorCode::NO_ERROR)
|
||||
{
|
||||
collection.downloadFiles();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue