Commit db01bd2f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

port deprecated method

parent 1a58ba67
...@@ -78,7 +78,12 @@ void Connection::init() ...@@ -78,7 +78,12 @@ void Connection::init()
if (!socket->setSocketDescriptor(m_socketDescriptor)) { if (!socket->setSocketDescriptor(m_socketDescriptor)) {
qCWarning(AKONADISERVER_LOG) << "Connection(" << m_identifier qCWarning(AKONADISERVER_LOG) << "Connection(" << m_identifier
<< ")::run: failed to set socket descriptor: " << ")::run: failed to set socket descriptor: "
<< socket->error() << "(" << socket->errorString() << ")"; #if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< socket->error()
#else
<< socket->socketError()
#endif
<< "(" << socket->errorString() << ")";
return; return;
} }
......
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