Commit 066cc221 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to use qOverload here

parent 8cf1e3d2
Pipeline #82928 passed with stage
in 8 minutes and 31 seconds
......@@ -195,7 +195,7 @@ void SessionThread::threadInit()
// Delay the call to slotSocketDisconnected so that it finishes disconnecting before we call reconnect()
connect(m_socket.get(), &QSslSocket::disconnected, this, &SessionThread::slotSocketDisconnected, Qt::QueuedConnection);
connect(m_socket.get(), &QSslSocket::connected, this, &SessionThread::socketConnected);
connect(m_socket.get(), qOverload<QAbstractSocket::SocketError>(&QAbstractSocket::errorOccurred), this, &SessionThread::slotSocketError);
connect(m_socket.get(), &QAbstractSocket::errorOccurred, this, &SessionThread::slotSocketError);
connect(m_socket.get(), &QIODevice::bytesWritten, this, &SessionThread::socketActivity);
connect(m_socket.get(), &QSslSocket::encryptedBytesWritten, this, &SessionThread::socketActivity);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment