From 87d6b0514b21c18a9b0dfab1a735fdefa610af0a Mon Sep 17 00:00:00 2001
From: Topi Reinio <topi.reinio@theqtcompany.com>
Date: Mon, 30 Nov 2015 13:14:19 +0100
Subject: [PATCH] Doc: Fortune Server Example: fix typo in function name

Change-Id: Ib0a5030cc2f88cf90ba7d25c75871c439486abe3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
---
 examples/network/doc/src/fortuneserver.qdoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/network/doc/src/fortuneserver.qdoc b/examples/network/doc/src/fortuneserver.qdoc
index c55a1634e42..0b110783aa3 100644
--- a/examples/network/doc/src/fortuneserver.qdoc
+++ b/examples/network/doc/src/fortuneserver.qdoc
@@ -87,7 +87,7 @@
 
     \snippet fortuneserver/server.cpp 7
 
-    We then call QTcpServer::newPendingConnection(), which returns the
+    We then call QTcpServer::nextPendingConnection(), which returns the
     QTcpSocket representing the server side of the connection. By connecting
     QTcpSocket::disconnected() to QObject::deleteLater(), we ensure that the
     socket will be deleted after disconnecting.
-- 
GitLab