summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/websockets/qsslserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websockets/qsslserver.cpp b/src/websockets/qsslserver.cpp
index ec645c9..1bc05bb 100644
--- a/src/websockets/qsslserver.cpp
+++ b/src/websockets/qsslserver.cpp
@@ -107,7 +107,7 @@ QSslConfiguration QSslServer::sslConfiguration() const
*/
void QSslServer::incomingConnection(qintptr socket)
{
- QSslSocket *pSslSocket = new QSslSocket();
+ QSslSocket *pSslSocket = new QSslSocket(this);
if (Q_LIKELY(pSslSocket)) {
pSslSocket->setSslConfiguration(m_sslConfiguration);