mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-28 08:54:13 -04:00
Improving Posted Links, changed some strings, added a info label, not allow blank posts without a title.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7005 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4a87f5d73b
commit
97cd659679
8 changed files with 150 additions and 23 deletions
|
@ -88,10 +88,10 @@ void PostedItem::setContent(const RsPostedPost &post)
|
|||
dateLabel->setText(timestamp);
|
||||
fromLabel->setId(post.mMeta.mAuthorId);
|
||||
titleLabel->setText("<a href=" + QString::fromStdString(post.mLink) +
|
||||
"><span style=\" text-decoration: underline; color:#0000ff;\">" +
|
||||
"><span style=\" text-decoration: underline; color:#2255AA;\">" +
|
||||
QString::fromStdString(post.mMeta.mMsgName) + "</span></a>");
|
||||
siteLabel->setText("<a href=" + QString::fromStdString(post.mLink) +
|
||||
"><span style=\" text-decoration: underline; color:#0000ff;\">" +
|
||||
"><span style=\" text-decoration: underline; color:#2255AA;\">" +
|
||||
QString::fromStdString(post.mLink) + "</span></a>");
|
||||
|
||||
//QString score = "Hot" + QString::number(post.mHotScore);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue