From 281d8275ed4d1bff2eff90a2b845a1ba8c84f542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Nowacki?= Date: Tue, 11 Feb 2014 10:21:36 +0100 Subject: Simplify simple chat example Change-Id: Ia4e6973e6531017129ae39c89851fbbf3ade76c4 Reviewed-by: Kurt Pattyn --- examples/simplechat/chatserver.h | 2 -- examples/simplechat/main.cpp | 2 -- 2 files changed, 4 deletions(-) (limited to 'examples') 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(); } -- cgit v1.2.1