if you don't understand why
socket->write(chat->setHtml(html));
socket->write(chat->setHtml(html));
To copy to clipboard, switch view to plain text mode
won't work, you need to ask yourself how a void (the result of setHtml) can be written a socket...
The following should compile:
socket->write(chat->setHtml(html)->html());
socket->write(chat->setHtml(html)->html());
To copy to clipboard, switch view to plain text mode
If that is what you want is another matter.
It is not clear to me (or us, it seems) what you really want to do.
Bookmarks