Hi everybody!
I have a problem that i can't resolve.
In a class I created a SIGNAL void newMessage(QTcpSocket*,QString) that when is emitted, it calls a method that send to QTcpSocket* the QString message. I happened to observe, however, that if you emit two newMessage into the same method, the two strings passed to the respective SIGNAL are merged into a unique parameter of slot.
So the slot is called once time only.
Why does this happen? Can it be overcome, forcing the separation of the two signals?
Thanks in advance.
EDIT: I'm sorry, i did a mistake checking the debug output.
Bookmarks