summaryrefslogtreecommitdiffstats
path: root/tests/auto/httpserver/httpserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/httpserver/httpserver.cpp')
-rw-r--r--tests/auto/httpserver/httpserver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/httpserver/httpserver.cpp b/tests/auto/httpserver/httpserver.cpp
index e08af77e7..c65d68ce7 100644
--- a/tests/auto/httpserver/httpserver.cpp
+++ b/tests/auto/httpserver/httpserver.cpp
@@ -24,8 +24,7 @@ HttpServer::HttpServer(QTcpServer *tcpServer, const QString &protocol,
{
m_url.setHost(hostAddress.toString());
m_url.setScheme(protocol);
- connect(tcpServer, &QTcpServer::pendingConnectionAvailable, this,
- &HttpServer::handleNewConnection);
+ connect(tcpServer, &QTcpServer::newConnection, this, &HttpServer::handleNewConnection);
}
HttpServer::~HttpServer()