summaryrefslogtreecommitdiff
path: root/examples/echoserver/echoserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echoserver/echoserver.cpp')
-rw-r--r--examples/echoserver/echoserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echoserver/echoserver.cpp b/examples/echoserver/echoserver.cpp
index a3465c0..6b14754 100644
--- a/examples/echoserver/echoserver.cpp
+++ b/examples/echoserver/echoserver.cpp
@@ -49,7 +49,7 @@ QT_USE_NAMESPACE
EchoServer::EchoServer(quint16 port, QObject *parent) :
QObject(parent),
m_pWebSocketServer(new QWebSocketServer(QStringLiteral("Echo Server"),
- QWebSocketServer::SecureModeNonSecure, this)),
+ QWebSocketServer::NonSecureMode, this)),
m_clients()
{
if (m_pWebSocketServer->listen(QHostAddress::Any, port)) {