mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Added quick fix to show the plain name and title in the chat lobby.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6470 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
af5c31a4f5
commit
30c4a6ef93
8 changed files with 35 additions and 21 deletions
|
@ -792,3 +792,13 @@ bool RsHtml::makeEmbeddedImage(const QImage &originalImage, QString &embeddedIma
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
QString RsHtml::plainText(const QString &text)
|
||||
{
|
||||
return Qt::escape(text);
|
||||
}
|
||||
|
||||
QString RsHtml::plainText(const std::string &text)
|
||||
{
|
||||
return Qt::escape(QString::fromUtf8(text.c_str()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue