mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 13:49:04 -04:00
Fixed to use colored links for labels
This commit is contained in:
parent
5abefa4664
commit
01f02f2138
6 changed files with 7 additions and 7 deletions
|
@ -464,7 +464,7 @@ void BoardsCommentsItem::fill()
|
|||
//ui->titleLabel->setText(link.toHtml());
|
||||
|
||||
RetroShareLink msgLink = RetroShareLink::createGxsMessageLink(RetroShareLink::TYPE_POSTED, mPost.mMeta.mGroupId, mPost.mMeta.mMsgId, messageName());
|
||||
ui->subjectLabel->setText(msgLink.toHtml());
|
||||
ui->subjectLabel->setText(msgLink.toHtmlColored());
|
||||
|
||||
mInFill = true;
|
||||
|
||||
|
|
|
@ -388,7 +388,7 @@ void ChannelsCommentsItem::fill(bool missing_post)
|
|||
if(missing_post)
|
||||
ui->subjectLabel->setText("[" + QObject::tr("Missing channel post")+"]");
|
||||
else
|
||||
ui->subjectLabel->setText(msgLink.toHtml());
|
||||
ui->subjectLabel->setText(msgLink.toHtmlColored());
|
||||
|
||||
ui->readButton->hide();
|
||||
|
||||
|
|
|
@ -169,7 +169,7 @@ void GxsChannelGroupItem::fill()
|
|||
#endif
|
||||
|
||||
RetroShareLink link = RetroShareLink::createGxsGroupLink(RetroShareLink::TYPE_CHANNEL, mGroup.mMeta.mGroupId, groupName());
|
||||
ui->nameLabel->setText(link.toHtml());
|
||||
ui->nameLabel->setText(link.toHtmlColored());
|
||||
|
||||
ui->descLabel->setText(QString::fromUtf8(mGroup.mDescription.c_str()));
|
||||
|
||||
|
|
|
@ -490,12 +490,12 @@ void GxsChannelPostItem::fill()
|
|||
|
||||
title = tr("Channel Feed") + ": ";
|
||||
RetroShareLink link = RetroShareLink::createGxsGroupLink(RetroShareLink::TYPE_CHANNEL, mPost.mMeta.mGroupId, groupName());
|
||||
title += link.toHtml();
|
||||
title += link.toHtmlColored();
|
||||
ui->titleLabel->setText(title);
|
||||
|
||||
msgText = tr("Post") + ": ";
|
||||
RetroShareLink msgLink = RetroShareLink::createGxsMessageLink(RetroShareLink::TYPE_CHANNEL, mPost.mMeta.mGroupId, mPost.mMeta.mMsgId, messageName());
|
||||
msgText += msgLink.toHtml();
|
||||
msgText += msgLink.toHtmlColored();
|
||||
ui->subjectLabel->setText(msgText);
|
||||
|
||||
if (IS_GROUP_SUBSCRIBED(mGroupMeta.mSubscribeFlags) || IS_GROUP_ADMIN(mGroupMeta.mSubscribeFlags))
|
||||
|
|
|
@ -181,7 +181,7 @@ void GxsForumGroupItem::fill()
|
|||
#endif
|
||||
|
||||
RetroShareLink link = RetroShareLink::createGxsGroupLink(RetroShareLink::TYPE_FORUM, mGroup.mMeta.mGroupId, groupName());
|
||||
ui->nameLabel->setText(link.toHtml());
|
||||
ui->nameLabel->setText(link.toHtmlColored());
|
||||
|
||||
ui->descLabel->setText(QString::fromUtf8(mGroup.mDescription.c_str()));
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ void PostedGroupItem::fill()
|
|||
|
||||
// No link type at this moment
|
||||
RetroShareLink link = RetroShareLink::createGxsGroupLink(RetroShareLink::TYPE_POSTED, mGroup.mMeta.mGroupId, groupName());
|
||||
ui->nameLabel->setText(link.toHtml());
|
||||
ui->nameLabel->setText(link.toHtmlColored());
|
||||
// ui->nameLabel->setText(groupName());
|
||||
|
||||
ui->descLabel->setText(QString::fromUtf8(mGroup.mDescription.c_str()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue