mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-05 21:29:23 -04:00
slightly improved message shown over lobby names
This commit is contained in:
parent
f063e5ba6f
commit
749ca08f9f
1 changed files with 1 additions and 1 deletions
|
@ -923,7 +923,7 @@ void ChatWidget::addChatMsg(bool incoming, const QString &name, const RsGxsId gx
|
||||||
QString strGxsId = "";
|
QString strGxsId = "";
|
||||||
if (!gxsId.isNull())
|
if (!gxsId.isNull())
|
||||||
strGxsId = QString::fromStdString(gxsId.toStdString());
|
strGxsId = QString::fromStdString(gxsId.toStdString());
|
||||||
formatMsg.replace(QString("<a name=\"name\">"),QString("<a name=\"%1\">").arg(strGxsId));
|
formatMsg.replace(QString("<a name=\"name\">"),QString("<a name=\"Person Id: %1\">").arg(strGxsId));
|
||||||
|
|
||||||
QTextCursor textCursor = QTextCursor(ui->textBrowser->textCursor());
|
QTextCursor textCursor = QTextCursor(ui->textBrowser->textCursor());
|
||||||
textCursor.movePosition(QTextCursor::End);
|
textCursor.movePosition(QTextCursor::End);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue