mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-04 04:14:24 -04:00
Renamed RsCollectionErrorCode::NO_ERROR to COLLECTION_NO_ERROR because of double define of NO_ERROR in winerror.h
This commit is contained in:
parent
16d6d4d597
commit
5a24fad354
8 changed files with 12 additions and 12 deletions
|
@ -612,7 +612,7 @@ void SearchDialog::collOpen()
|
|||
RsCollection::RsCollectionErrorCode err;
|
||||
RsCollection collection(fileName, err);
|
||||
|
||||
if(err == RsCollection::RsCollectionErrorCode::NO_ERROR)
|
||||
if(err == RsCollection::RsCollectionErrorCode::COLLECTION_NO_ERROR)
|
||||
RsCollectionDialog::downloadFiles(collection);
|
||||
else
|
||||
QMessageBox::information(nullptr,tr("Error open RsCollection file"),RsCollection::errorString(err));
|
||||
|
|
|
@ -854,7 +854,7 @@ void SharedFilesDialog::collOpen()
|
|||
RsCollection::RsCollectionErrorCode err;
|
||||
RsCollection collection(fileName,err);
|
||||
|
||||
if(err == RsCollection::RsCollectionErrorCode::NO_ERROR)
|
||||
if(err == RsCollection::RsCollectionErrorCode::COLLECTION_NO_ERROR)
|
||||
RsCollectionDialog::downloadFiles(collection);
|
||||
}
|
||||
|
||||
|
|
|
@ -2571,7 +2571,7 @@ void TransfersDialog::collOpen()
|
|||
RsCollection::RsCollectionErrorCode code;
|
||||
RsCollection collection(fileName,code);
|
||||
|
||||
if(code == RsCollection::RsCollectionErrorCode::NO_ERROR)
|
||||
if(code == RsCollection::RsCollectionErrorCode::COLLECTION_NO_ERROR)
|
||||
RsCollectionDialog::downloadFiles(collection);
|
||||
else
|
||||
QMessageBox::information(nullptr,tr("Error openning collection file"),RsCollection::errorString(code));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue