mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Display From Label as Link
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2136 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7fd5c7ad4b
commit
e42bea40cf
@ -842,7 +842,7 @@ void MessagesDialog::insertMsgTxtAndFiles()
|
||||
ui.dateText-> setText(timestamp);
|
||||
}
|
||||
ui.toText->setText(msgTxt);
|
||||
ui.fromText->setText(QString::fromStdString(rsPeers->getPeerName(msgInfo.srcId)));
|
||||
ui.fromText->setText("<a style='color: blue;' href='" + QString::fromStdString(rsPeers->getPeerName(msgInfo.srcId)) + "'> " + QString::fromStdString(rsPeers->getPeerName(msgInfo.srcId)) +"</a>");
|
||||
|
||||
ui.subjectText->setText(QString::fromStdWString(msgInfo.title));
|
||||
ui.msgText->setHtml(QString::fromStdWString(msgInfo.msg));
|
||||
|
@ -1138,9 +1138,17 @@ p, li { white-space: pre-wrap; }
|
||||
<height>12</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>9</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
|
Loading…
Reference in New Issue
Block a user