Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit b8ad8f4f authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent f0adbc2d
......@@ -70,7 +70,7 @@ void FakeServer::newConnection()
QMutexLocker locker(&m_mutex);
m_clientSockets << m_tcpServer->nextPendingConnection();
connect(m_clientSockets.last(), SIGNAL(readyRead()), this, SLOT(dataAvailable()));
connect(m_clientSockets.last(), &QTcpSocket::readyRead, this, &FakeServer::dataAvailable);
}
void FakeServer::run()
......
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