summaryrefslogtreecommitdiff
path: root/examples/sslechoserver
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sslechoserver')
-rw-r--r--examples/sslechoserver/sslechoserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sslechoserver/sslechoserver.cpp b/examples/sslechoserver/sslechoserver.cpp
index db44af6..b360a08 100644
--- a/examples/sslechoserver/sslechoserver.cpp
+++ b/examples/sslechoserver/sslechoserver.cpp
@@ -55,7 +55,7 @@ SslEchoServer::SslEchoServer(quint16 port, QObject *parent) :
m_clients()
{
m_pWebSocketServer = new QWebSocketServer(QStringLiteral("SSL Echo Server"),
- QWebSocketServer::SecureModeSecure,
+ QWebSocketServer::SecureMode,
this);
QSslConfiguration sslConfiguration;
QFile certFile(QStringLiteral("./localhost.cert"));