Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

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

Fix some clazy warning

parent bea509a3
......@@ -82,7 +82,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(), &QIODevice::readyRead, this, &FakeServer::dataAvailable);
//m_clientParsers << new KIMAP::ImapStreamParser( m_clientSockets.last(), true );
QVERIFY(m_clientSockets.size() <= m_scenarios.size());
......@@ -98,7 +98,7 @@ void FakeServer::run()
connect(m_tcpServer, SIGNAL(newConnection()), this, SLOT(newConnection()));
connect(m_tcpServer, &QTcpServer::newConnection, this, &FakeServer::newConnection);
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