diff options
Diffstat (limited to 'examples/sslechoserver/sslechoserver.cpp')
-rw-r--r-- | examples/sslechoserver/sslechoserver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/sslechoserver/sslechoserver.cpp b/examples/sslechoserver/sslechoserver.cpp index aafc9f4..c6bca2f 100644 --- a/examples/sslechoserver/sslechoserver.cpp +++ b/examples/sslechoserver/sslechoserver.cpp @@ -54,7 +54,8 @@ SslEchoServer::SslEchoServer(quint16 port, QObject *parent) : m_pWebSocketServer(Q_NULLPTR), m_clients() { - m_pWebSocketServer = new QWebSocketServer("SSL Echo Server", QWebSocketServer::SecureModeSecure, + m_pWebSocketServer = new QWebSocketServer(QStringLiteral("SSL Echo Server"), + QWebSocketServer::SecureModeSecure, this); QSslConfiguration sslConfiguration; QFile certFile(QStringLiteral("./localhost.cert")); |