X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsslserver.cpp;h=87ca452240ca84d40c1ef59cea2ab112db03d1a3;hp=c44f40963fe8d64d1883aa1ad77e30073cd91029;hb=c1572b1c1d6effb21083c6b09f08b30824827a98;hpb=2f692b299eded9386fdee3e7a13727d95bbe2495 diff --git a/src/core/sslserver.cpp b/src/core/sslserver.cpp index c44f4096..87ca4522 100644 --- a/src/core/sslserver.cpp +++ b/src/core/sslserver.cpp @@ -56,8 +56,11 @@ QTcpSocket *SslServer::nextPendingConnection() return _pendingConnections.takeFirst(); } - +#if QT_VERSION >= 0x050000 +void SslServer::incomingConnection(qintptr socketDescriptor) +#else void SslServer::incomingConnection(int socketDescriptor) +#endif { QSslSocket *serverSocket = new QSslSocket(this); if (serverSocket->setSocketDescriptor(socketDescriptor)) {