"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/GUI/CatalogListModel.cxx" between
flightgear-2020.3.7.tar.bz2 and flightgear-2020.3.8.tar.bz2

About: FlightGear is a multi-platform, cooperative flight simulator development project.

CatalogListModel.cxx  (flightgear-2020.3.7.tar.bz2):CatalogListModel.cxx  (flightgear-2020.3.8.tar.bz2)
skipping to change at line 327 skipping to change at line 327
switch (cat->status()) { switch (cat->status()) {
case Delegate::STATUS_SUCCESS: case Delegate::STATUS_SUCCESS:
case Delegate::STATUS_REFRESHED: case Delegate::STATUS_REFRESHED:
return Ok; return Ok;
case Delegate::FAIL_DOWNLOAD: return NetworkError; case Delegate::FAIL_DOWNLOAD: return NetworkError;
case Delegate::STATUS_IN_PROGRESS: return Refreshing; case Delegate::STATUS_IN_PROGRESS: return Refreshing;
case Delegate::FAIL_NOT_FOUND: return NotFoundOnServer; case Delegate::FAIL_NOT_FOUND: return NotFoundOnServer;
case Delegate::FAIL_VERSION: return IncompatibleVersion; case Delegate::FAIL_VERSION: return IncompatibleVersion;
case Delegate::FAIL_HTTP_FORBIDDEN: return HTTPForbidden; case Delegate::FAIL_HTTP_FORBIDDEN: return HTTPForbidden;
case Delegate::FAIL_VALIDATION: return InvalidData; case Delegate::FAIL_VALIDATION:
case Delegate::FAIL_EXTRACT:
return InvalidData;
default: default:
return UnknownError; return UnknownError;
} }
} }
CatalogListModel::CatalogStatus CatalogListModel::statusOfAddingCatalog() const CatalogListModel::CatalogStatus CatalogListModel::statusOfAddingCatalog() const
{ {
if (!m_newlyAddedCatalog.get()) { if (!m_newlyAddedCatalog.get()) {
return NoAddInProgress; return NoAddInProgress;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)