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

@ -1148,7 +1148,7 @@ QString RetroShareLink::toHtmlSize() const
RsCollection::RsCollectionErrorCode code;
RsCollection collection(QString::fromUtf8(finfo.path.c_str()), code) ;
if(code == RsCollection::RsCollectionErrorCode::NO_ERROR)
if(code == RsCollection::RsCollectionErrorCode::COLLECTION_NO_ERROR)
size += QString(" [%1]").arg(misc::friendlyUnit(collection.size()));
}
}