From 5e5c6aa7d88aec50498db8580aa3a01cb4a55e8a Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Wed, 20 Sep 2023 13:12:54 +0300 Subject: [PATCH] Don't show outdated tracker message PR #19616. Closes #19612. --- src/base/bittorrent/torrentimpl.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/base/bittorrent/torrentimpl.cpp b/src/base/bittorrent/torrentimpl.cpp index c93335054..5f59f996f 100644 --- a/src/base/bittorrent/torrentimpl.cpp +++ b/src/base/bittorrent/torrentimpl.cpp @@ -180,6 +180,10 @@ namespace { trackerEndpoint.message = QString::fromLocal8Bit(infoHash.last_error.message()); } + else + { + trackerEndpoint.message.clear(); + } } } #else @@ -239,6 +243,10 @@ namespace { trackerEndpoint.message = QString::fromLocal8Bit(endpoint.last_error.message()); } + else + { + trackerEndpoint.message.clear(); + } } #endif