mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 03:36:58 -04:00
starting fixing RsCollection with the new model
This commit is contained in:
parent
eae4fe86aa
commit
885eb640dc
4 changed files with 25 additions and 23 deletions
|
@ -733,7 +733,7 @@ void SharedFilesDialog::sendLinkTo()
|
|||
|
||||
void SharedFilesDialog::collCreate()
|
||||
{
|
||||
#ifdef TODO
|
||||
#ifdef TODO_COLLECTION
|
||||
QModelIndexList lst = getSelected();
|
||||
|
||||
std::vector <DirDetails> dirVec;
|
||||
|
@ -831,6 +831,8 @@ void SharedFilesDialog::collOpen()
|
|||
if (qinfo.exists()) {
|
||||
if (qinfo.absoluteFilePath().endsWith(RsCollection::ExtensionString)) {
|
||||
|
||||
RsCollectionDialog::openExistingCollection(qinfo.absoluteFilePath(),true);
|
||||
#ifdef TO_REMOVE
|
||||
RsCollection::RsCollectionErrorCode err;
|
||||
RsCollection collection(qinfo.absoluteFilePath(),err);
|
||||
|
||||
|
@ -839,6 +841,7 @@ void SharedFilesDialog::collOpen()
|
|||
collection.downloadFiles();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue