removed dead code, and added check for incorrect file names when saving

This commit is contained in:
csoler 2024-03-28 21:26:09 +01:00
parent 20f4b51bb7
commit 8366cbca59
5 changed files with 44 additions and 1203 deletions

View file

@ -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
}
}
}