Doc: Fortune Server Example: fix typo in function name
Change-Id: Ib0a5030cc2f88cf90ba7d25c75871c439486abe3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
parent
e808c5fa60
commit
87d6b0514b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user