summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_network_ssl_qsslsocket.cpp
diff options
context:
space:
mode:
authorJonas M. Gastal <jgastal@profusion.mobi>2012-01-11 13:06:14 -0200
committerQt by Nokia <qt-info@nokia.com>2012-01-13 20:55:00 +0100
commitbdce61002255b5f8b3213e93175cefdfebfde2cc (patch)
tree216a8fe598b426f1a3184534c33a3800ad34a652 /doc/src/snippets/code/src_network_ssl_qsslsocket.cpp
parent14b929e9c448f2cc74fa047aaf8af283b81fbaf9 (diff)
Fixes examples/tests to use qinptr in QTcpServer::incomingConnection.
This is a fix for problems introduced by bf7f170. Change-Id: If5dd8e031ef2efea578b3efb188c2e950e1ba41a Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com> Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/src_network_ssl_qsslsocket.cpp')
-rw-r--r--doc/src/snippets/code/src_network_ssl_qsslsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/code/src_network_ssl_qsslsocket.cpp b/doc/src/snippets/code/src_network_ssl_qsslsocket.cpp
index 0088a0f43f..24365a3005 100644
--- a/doc/src/snippets/code/src_network_ssl_qsslsocket.cpp
+++ b/doc/src/snippets/code/src_network_ssl_qsslsocket.cpp
@@ -47,7 +47,7 @@ socket->connectToHostEncrypted("imap.example.com", 993);
//! [1]
-void SslServer::incomingConnection(int socketDescriptor)
+void SslServer::incomingConnection(qintptr socketDescriptor)
{
QSslSocket *serverSocket = new QSslSocket;
if (serverSocket->setSocketDescriptor(socketDescriptor)) {