summaryrefslogtreecommitdiffstats
path: root/examples/network/doc/src/fortuneserver.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/doc/src/fortuneserver.qdoc')
-rw-r--r--examples/network/doc/src/fortuneserver.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/doc/src/fortuneserver.qdoc b/examples/network/doc/src/fortuneserver.qdoc
index c55a1634e4..0b110783aa 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.