Don't show outdated tracker message

PR #19616.
Closes #19612.
This commit is contained in:
Vladimir Golovnev 2023-09-20 13:12:54 +03:00 committed by GitHub
parent 88d32d57ab
commit 5e5c6aa7d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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