aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-11-03 08:02:54 +0100
committerMontel Laurent <[email protected]>2017-11-03 08:02:54 +0100
commitb8ad8f4f524e5ab39008e47e65b58093a820e747 (patch)
treeb1e93eb9739a75f08505e842cf770e7f8ec25476
parentf0adbc2dd207ec7209287489f84d40e976fa6295 (diff)
Port to new connect api
-rw-r--r--autotests/fakeserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/fakeserver.cpp b/autotests/fakeserver.cpp
index 8c240e3..589ce7e 100644
--- a/autotests/fakeserver.cpp
+++ b/autotests/fakeserver.cpp
@@ -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()