summaryrefslogtreecommitdiff
path: root/examples/simplechat/chatserver.cpp
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-01-18 20:50:48 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 13:22:46 +0100
commit1941de4eaff86a096b1720ad10fa5a633bf77243 (patch)
tree860464b02d1ee649806e0aed15606fe3bbc1e727 /examples/simplechat/chatserver.cpp
parentab0704e1559c316e65b4bce4e1ab913cdee4dfa2 (diff)
downloadqtwebsockets-1941de4eaff86a096b1720ad10fa5a633bf77243.tar.gz
Limit line length to 100 chars per line
Change-Id: I2a91033c9882ca54c6fcf26d9eb5a3c91f9e0f7d Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'examples/simplechat/chatserver.cpp')
-rw-r--r--examples/simplechat/chatserver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/simplechat/chatserver.cpp b/examples/simplechat/chatserver.cpp
index 5c6116c..44f2748 100644
--- a/examples/simplechat/chatserver.cpp
+++ b/examples/simplechat/chatserver.cpp
@@ -51,7 +51,8 @@ ChatServer::ChatServer(quint16 port, QObject *parent) :
m_pWebSocketServer(Q_NULLPTR),
m_clients()
{
- m_pWebSocketServer = new QWebSocketServer("Chat Server", QWebSocketServer::SecureModeNonSecure, this);
+ m_pWebSocketServer = new QWebSocketServer("Chat Server", QWebSocketServer::SecureModeNonSecure,
+ this);
if (m_pWebSocketServer->listen(QHostAddress::Any, port))
{
qDebug() << "Chat Server listening on port" << port;