Fix RsCollectionFile::load(QString, bool) calls.

Remove "this" as bool parameter.
This commit is contained in:
Phenom 2016-05-16 11:32:17 +02:00
parent 5d69072c93
commit 1f8f413c85
3 changed files with 22 additions and 22 deletions

View file

@ -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)) {

View file

@ -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)) {

View file

@ -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)) {