Socket gets called twice!?
I have a program that when the signal is emitted the slot gets called twice. There is only one connect attached. On the thread that uses the same signal/slot I do not have this problem. Just when I send it thru this 2nd thread. The only difference i see is when the signal is emitted in this thread the compressEvent function is called and false is returned. Any of the traffic that works properly does not go into this function.
QSharedPointer<KernelThread> module(new (KernelThread));
connect(module.data(), SIGNAL(IncomingMessage(const QString&, Message*)),
SLOT(ProcessModuleMessage(const QString&, Message*)), Qt::QueuedConnection);