Suppress only on connectoin refused error

This commit is contained in:
Allan Bazinet
2024-11-06 06:13:41 -08:00
parent aef2fc0f6b
commit d6106a863b
2 changed files with 2 additions and 4 deletions

View File

@@ -216,8 +216,7 @@ MessageClient::MessageClient(QString const & name,
{
connect(&*m_, &impl::errorOccurred, [this](impl::SocketError const e)
{
if (e != impl::NetworkError &&
e != impl::ConnectionRefusedError)
if (e != impl::ConnectionRefusedError)
{
Q_EMIT error (m_->errorString());
}