Commit 068a074a authored by David Faure's avatar David Faure

Emit error (in order to terminate job) when the socket emits an error.

parent fae19399
......@@ -216,6 +216,7 @@ void SessionThread::slotSocketError()
Q_ASSERT(QThread::currentThread() == thread());
qCWarning(KMANAGERSIEVE_LOG) << Q_FUNC_INFO << m_socket->errorString();
Q_EMIT error(KIO::buildErrorString(KIO::ERR_COULD_NOT_CONNECT, m_socket->errorString()));
doDisconnectFromHost(false);
}
......
Markdown is supported
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