summaryrefslogtreecommitdiff
path: root/examples/simplechat/chatserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simplechat/chatserver.cpp')
-rw-r--r--examples/simplechat/chatserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simplechat/chatserver.cpp b/examples/simplechat/chatserver.cpp
index ffb4fad..0e1a0e5 100644
--- a/examples/simplechat/chatserver.cpp
+++ b/examples/simplechat/chatserver.cpp
@@ -52,7 +52,7 @@ ChatServer::ChatServer(quint16 port, QObject *parent) :
m_clients()
{
m_pWebSocketServer = new QWebSocketServer(QStringLiteral("Chat Server"),
- QWebSocketServer::SecureModeNonSecure,
+ QWebSocketServer::NonSecureMode,
this);
if (m_pWebSocketServer->listen(QHostAddress::Any, port))
{