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