bug fix
This commit is contained in:
parent
d214f9976d
commit
9e4dbd861a
1 changed files with 8 additions and 0 deletions
|
@ -216,10 +216,18 @@ protected:
|
||||||
Socket.moveToThread ( &NetworkWorkerThread );
|
Socket.moveToThread ( &NetworkWorkerThread );
|
||||||
|
|
||||||
NetworkWorkerThread.SetSocket ( &Socket );
|
NetworkWorkerThread.SetSocket ( &Socket );
|
||||||
|
|
||||||
|
// connect the "InvalidPacketReceived" signal
|
||||||
|
QObject::connect ( &Socket,
|
||||||
|
SIGNAL ( InvalidPacketReceived ( CHostAddress ) ),
|
||||||
|
SIGNAL ( InvalidPacketReceived ( CHostAddress ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
CSocketThread NetworkWorkerThread;
|
CSocketThread NetworkWorkerThread;
|
||||||
CSocket Socket;
|
CSocket Socket;
|
||||||
|
|
||||||
|
signals:
|
||||||
|
void InvalidPacketReceived ( CHostAddress RecHostAddr );
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* !defined ( SOCKET_HOIHGE76GEKJH98_3_4344_BB23945IUHF1912__INCLUDED_ ) */
|
#endif /* !defined ( SOCKET_HOIHGE76GEKJH98_3_4344_BB23945IUHF1912__INCLUDED_ ) */
|
||||||
|
|
Loading…
Reference in a new issue