mirror of
https://github.com/tnodir/fort
synced 2024-11-15 04:05:50 +00:00
UI: ControlWorker: Don't log PeerClosedError
This commit is contained in:
parent
eb6f31f361
commit
f26da76cbb
@ -97,7 +97,7 @@ void ControlWorker::setupForAsync()
|
|||||||
|
|
||||||
connect(socket(), &QLocalSocket::errorOccurred, this,
|
connect(socket(), &QLocalSocket::errorOccurred, this,
|
||||||
[&](QLocalSocket::LocalSocketError socketError) {
|
[&](QLocalSocket::LocalSocketError socketError) {
|
||||||
if (!m_isReconnecting) {
|
if (!m_isReconnecting && socketError != QLocalSocket::PeerClosedError) {
|
||||||
qCWarning(LC) << "Client error:" << id() << socketError << errorString();
|
qCWarning(LC) << "Client error:" << id() << socketError << errorString();
|
||||||
}
|
}
|
||||||
close();
|
close();
|
||||||
|
Loading…
Reference in New Issue
Block a user