From 9e4dbd861a2110df961a7c519ed6128dbe6a8be2 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 16 Feb 2014 09:28:34 +0000 Subject: [PATCH] bug fix --- src/socket.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/socket.h b/src/socket.h index efa70a92..74a702ae 100755 --- a/src/socket.h +++ b/src/socket.h @@ -216,10 +216,18 @@ protected: Socket.moveToThread ( &NetworkWorkerThread ); NetworkWorkerThread.SetSocket ( &Socket ); + + // connect the "InvalidPacketReceived" signal + QObject::connect ( &Socket, + SIGNAL ( InvalidPacketReceived ( CHostAddress ) ), + SIGNAL ( InvalidPacketReceived ( CHostAddress ) ) ); } CSocketThread NetworkWorkerThread; CSocket Socket; + +signals: + void InvalidPacketReceived ( CHostAddress RecHostAddr ); }; #endif /* !defined ( SOCKET_HOIHGE76GEKJH98_3_4344_BB23945IUHF1912__INCLUDED_ ) */