Renamed RsCollectionErrorCode::NO_ERROR to COLLECTION_NO_ERROR because of double define of NO_ERROR in winerror.h

This commit is contained in:
thunder2 2024-04-02 14:44:34 +02:00
parent 16d6d4d597
commit 5a24fad354
8 changed files with 12 additions and 12 deletions

View file

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