Changeset 14273 for trunk/qt/mainwin.cc


Ignore:
Timestamp:
May 15, 2014, 9:32:04 PM (8 years ago)
Author:
jordan
Message:

update network error detection as described by rb07 in https://trac.transmissionbt.com/ticket/5514#comment:9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/mainwin.cc

    r14272 r14273  
    13991399{
    14001400  const bool hadError = myNetworkError;
    1401   const bool haveError = code != QNetworkReply::NoError;
     1401  const bool haveError = (code != QNetworkReply::NoError)
     1402                      && (code != QNetworkReply::UnknownContentError);
    14021403
    14031404  myNetworkError = haveError;
Note: See TracChangeset for help on using the changeset viewer.