aboutsummaryrefslogtreecommitdiffstats
path: root/examples/websockets/simplechat/main.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2017-09-25 16:16:58 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2017-09-28 13:21:27 +0000
commit71b5fc5dd10e9edce8db886f6c05b7950b3cca6e (patch)
treeff3b1a8543aae7abd3d1270eb7336c662bdf5c5c /examples/websockets/simplechat/main.cpp
parentfdb6d8370f9ae8fa148124289317c108399853c3 (diff)
Revamp WebSocket's simple-chat examplev5.10.0-beta1
- Replace Q_* macros with their 'modern' substitutes - Replace a usage of qDebug with QTextStream - Print a little piece of text whenever a client connects - Add a textbox to the html page to set the host to connect to - Enable/disable disconnect and send button based on connection Task-number: QTBUG-60656 Change-Id: Ieec571c3964f94cd464912054acda3208c02c898 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples/websockets/simplechat/main.cpp')
-rw-r--r--examples/websockets/simplechat/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/websockets/simplechat/main.cpp b/examples/websockets/simplechat/main.cpp
index 0b1c753..a1ffb49 100644
--- a/examples/websockets/simplechat/main.cpp
+++ b/examples/websockets/simplechat/main.cpp
@@ -48,6 +48,7 @@
**
****************************************************************************/
#include <QtCore/QCoreApplication>
+
#include "chatserver.h"
int main(int argc, char *argv[])