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.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)) {
@ -1454,8 +1454,8 @@ void SearchDialog::sendLinkTo( )
void SearchDialog::selectFileType(int index)
{
if (!FileTypeExtensionMap->contains(index) && index != FILETYPE_IDX_DIRECTORY)
return;
if (!FileTypeExtensionMap->contains(index) && index != FILETYPE_IDX_DIRECTORY)
return;
QString searchId;
QTreeWidgetItem *ci = ui.searchSummaryWidget->currentItem();

View File

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

View File

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