Quote Originally Posted by ChineseGeek View Post
Believe me, i have thought about that line several days hehe... I think im passing a html quote to the socket and them displaying that html quote on the QTextEdit (chat)... Obviously, its wrong, otherwise i wouldnt be asking here hehe...
No, you are passing html string to QTextEdit and result of that method (which is "void" - what you can read in documentation) you are passing to socket. So you are passing void - which is exactly nothing - to the socket. So you are writing nothing. And it is only simple C++ knowledge needed to discover that :P

change it into those lines:
Qt Code:
  1. chat->setHtml(html);
  2. socket->write(html);
To copy to clipboard, switch view to plain text mode