Browse Source

Don't show outdated tracker message

PR #19616.
Closes #19612.
adaptive-webui-19844
Vladimir Golovnev 1 year ago committed by GitHub
parent
commit
5e5c6aa7d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/base/bittorrent/torrentimpl.cpp

8
src/base/bittorrent/torrentimpl.cpp

@ -180,6 +180,10 @@ namespace
{ {
trackerEndpoint.message = QString::fromLocal8Bit(infoHash.last_error.message()); trackerEndpoint.message = QString::fromLocal8Bit(infoHash.last_error.message());
} }
else
{
trackerEndpoint.message.clear();
}
} }
} }
#else #else
@ -239,6 +243,10 @@ namespace
{ {
trackerEndpoint.message = QString::fromLocal8Bit(endpoint.last_error.message()); trackerEndpoint.message = QString::fromLocal8Bit(endpoint.last_error.message());
} }
else
{
trackerEndpoint.message.clear();
}
} }
#endif #endif

Loading…
Cancel
Save