From: Jędrzej Nowacki Date: Tue, 11 Feb 2014 09:21:36 +0000 (+0100) Subject: Simplify simple chat example X-Git-Tag: v5.3.0-alpha1~11 X-Git-Url: http://review.tizen.org/git/?p=contrib%2Fqtwebsockets.git;a=commitdiff_plain;h=281d8275ed4d1bff2eff90a2b845a1ba8c84f542 Simplify simple chat example Change-Id: Ia4e6973e6531017129ae39c89851fbbf3ade76c4 Reviewed-by: Kurt Pattyn --- 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(); }