mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -05:00
Merge pull request #385 from PhenomRetroShare/Fix_RsCollectionFileLoadCall
Fix RsCollectionFile::load(QString, bool) calls.
This commit is contained in:
commit
20648707de
@ -535,15 +535,15 @@ void SearchDialog::collOpen()
|
||||
if (qinfo.exists()) {
|
||||
if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString)) {
|
||||
RsCollectionFile collection;
|
||||
if (collection.load(qinfo.absoluteFilePath(), this)) {
|
||||
if (collection.load(qinfo.absoluteFilePath())) {
|
||||
collection.downloadFiles();
|
||||
return;
|
||||
}//if (collection.load(this))
|
||||
}//if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString))
|
||||
}//if (qinfo.exists())
|
||||
}//if (!rsFiles->FileDetails(
|
||||
}//if (!item->data(SR_DATA_COL, SR_ROLE_LOCAL).toBool())
|
||||
}//if (selectedItems.size() != 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RsCollectionFile collection;
|
||||
if (collection.load(this)) {
|
||||
|
@ -2170,15 +2170,15 @@ void TransfersDialog::collOpen()
|
||||
if (qinfo.exists()) {
|
||||
if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString)) {
|
||||
RsCollectionFile collection;
|
||||
if (collection.load(qinfo.absoluteFilePath(), this)) {
|
||||
if (collection.load(qinfo.absoluteFilePath())) {
|
||||
collection.downloadFiles();
|
||||
return;
|
||||
}//if (collection.load(this))
|
||||
}//if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString))
|
||||
}//if (qinfo.exists())
|
||||
}//if (info.downloadStatus == FT_STATE_COMPLETE)
|
||||
}//if (rsFiles->FileDetails(
|
||||
}//if (items.size() == 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RsCollectionFile collection;
|
||||
if (collection.load(this)) {
|
||||
|
@ -726,14 +726,14 @@ void SharedFilesDialog::collOpen()
|
||||
if (qinfo.exists()) {
|
||||
if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString)) {
|
||||
RsCollectionFile collection;
|
||||
if (collection.load(qinfo.absoluteFilePath(), this)) {
|
||||
if (collection.load(qinfo.absoluteFilePath())) {
|
||||
collection.downloadFiles();
|
||||
return;
|
||||
}//if (collection.load(this))
|
||||
}//if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString))
|
||||
}//if (qinfo.exists())
|
||||
}//if (rsFiles->FileDetails(
|
||||
}//if(files_info.size() == 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RsCollectionFile collection;
|
||||
if (collection.load(this)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user