diff options
author | Jędrzej Nowacki <jedrzej.nowacki@digia.com> | 2014-02-11 10:21:36 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-11 12:47:09 +0100 |
commit | 281d8275ed4d1bff2eff90a2b845a1ba8c84f542 (patch) | |
tree | 001c1f9951a24fcdc706b9b07122536997666ab4 /examples | |
parent | de92bb09b12ff95bc9d03f930f54463a336f6263 (diff) | |
download | qtwebsockets-281d8275ed4d1bff2eff90a2b845a1ba8c84f542.tar.gz |
Simplify simple chat example
Change-Id: Ia4e6973e6531017129ae39c89851fbbf3ade76c4
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simplechat/chatserver.h | 2 | ||||
-rw-r--r-- | examples/simplechat/main.cpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/examples/simplechat/chatserver.h b/examples/simplechat/chatserver.h index 36ef22e..1a0af0a 100644 --- a/examples/simplechat/chatserver.h +++ b/examples/simplechat/chatserver.h @@ -55,8 +55,6 @@ public: explicit ChatServer(quint16 port, QObject *parent = Q_NULLPTR); virtual ~ChatServer(); -Q_SIGNALS: - private Q_SLOTS: void onNewConnection(); void processMessage(QString message); diff --git a/examples/simplechat/main.cpp b/examples/simplechat/main.cpp index 19281eb..d3a9c9d 100644 --- a/examples/simplechat/main.cpp +++ b/examples/simplechat/main.cpp @@ -46,7 +46,5 @@ int main(int argc, char *argv[]) QCoreApplication a(argc, argv); ChatServer server(1234); - Q_UNUSED(server); - return a.exec(); } |