Permalink
Browse files

QxtSslServer: don't double-emit newConnection

  • Loading branch information...
1 parent 27360b3 commit 39026b47872aca716aa4bd9aba406e1ccf8a771b ahigerd committed Oct 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/network/qxtsslserver.cpp
@@ -202,7 +202,7 @@ void QxtSslServer::incomingConnection(int socketDescriptor)
parent(), SLOT(peerVerifyError(const QSslError&)));
}
qxt_d().pendingConnections.enqueue(socket);
- emit newConnection();
+ // emit newConnection(); // removed: QTcpServerPrivate emits this for us
if(qxt_d().autoEncrypt) socket->startServerEncryption();
} else {
delete socket;

0 comments on commit 39026b4

Please sign in to comment.