summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@theqtcompany.com>2015-11-30 13:14:19 +0100
committerTopi Reiniƶ <topi.reinio@theqtcompany.com>2015-11-30 12:24:17 +0000
commit87d6b0514b21c18a9b0dfab1a735fdefa610af0a (patch)
tree82801d336a2c67511f902a90f7c0ec5eb7ca9db3
parente808c5fa6096eb4bc84b6d90c9befa9e805fa680 (diff)
Doc: Fortune Server Example: fix typo in function name
Change-Id: Ib0a5030cc2f88cf90ba7d25c75871c439486abe3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
-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.