Doc: Fortune Server Example: fix typo in function name

Change-Id: Ib0a5030cc2f88cf90ba7d25c75871c439486abe3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
bb10
Topi Reinio 2015-11-30 13:14:19 +01:00 committed by Topi Reiniö
parent e808c5fa60
commit 87d6b0514b
1 changed files with 1 additions and 1 deletions

View File

@ -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.