mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
Fix RsCollectionFile::load(QString, bool) calls.
Remove "this" as bool parameter.
This commit is contained in:
parent
5d69072c93
commit
1f8f413c85
3 changed files with 22 additions and 22 deletions
|
@ -535,15 +535,15 @@ void SearchDialog::collOpen()
|
||||||
if (qinfo.exists()) {
|
if (qinfo.exists()) {
|
||||||
if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString)) {
|
if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString)) {
|
||||||
RsCollectionFile collection;
|
RsCollectionFile collection;
|
||||||
if (collection.load(qinfo.absoluteFilePath(), this)) {
|
if (collection.load(qinfo.absoluteFilePath())) {
|
||||||
collection.downloadFiles();
|
collection.downloadFiles();
|
||||||
return;
|
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;
|
RsCollectionFile collection;
|
||||||
if (collection.load(this)) {
|
if (collection.load(this)) {
|
||||||
|
|
|
@ -2170,15 +2170,15 @@ void TransfersDialog::collOpen()
|
||||||
if (qinfo.exists()) {
|
if (qinfo.exists()) {
|
||||||
if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString)) {
|
if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString)) {
|
||||||
RsCollectionFile collection;
|
RsCollectionFile collection;
|
||||||
if (collection.load(qinfo.absoluteFilePath(), this)) {
|
if (collection.load(qinfo.absoluteFilePath())) {
|
||||||
collection.downloadFiles();
|
collection.downloadFiles();
|
||||||
return;
|
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;
|
RsCollectionFile collection;
|
||||||
if (collection.load(this)) {
|
if (collection.load(this)) {
|
||||||
|
|
|
@ -726,14 +726,14 @@ void SharedFilesDialog::collOpen()
|
||||||
if (qinfo.exists()) {
|
if (qinfo.exists()) {
|
||||||
if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString)) {
|
if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString)) {
|
||||||
RsCollectionFile collection;
|
RsCollectionFile collection;
|
||||||
if (collection.load(qinfo.absoluteFilePath(), this)) {
|
if (collection.load(qinfo.absoluteFilePath())) {
|
||||||
collection.downloadFiles();
|
collection.downloadFiles();
|
||||||
return;
|
return;
|
||||||
}//if (collection.load(this))
|
}
|
||||||
}//if (qinfo.absoluteFilePath().endsWith(RsCollectionFile::ExtensionString))
|
}
|
||||||
}//if (qinfo.exists())
|
}
|
||||||
}//if (rsFiles->FileDetails(
|
}
|
||||||
}//if(files_info.size() == 1)
|
}
|
||||||
|
|
||||||
RsCollectionFile collection;
|
RsCollectionFile collection;
|
||||||
if (collection.load(this)) {
|
if (collection.load(this)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue