From 681ec848e083d1c134d81ad9f0f8f7d01a41e766 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 9 Apr 2012 15:01:25 +0000 Subject: [PATCH] Fixed clickable links in forum message feed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5085 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/feeds/ForumMsgItem.cpp | 2 +- retroshare-gui/src/gui/feeds/ForumMsgItem.ui | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/feeds/ForumMsgItem.cpp b/retroshare-gui/src/gui/feeds/ForumMsgItem.cpp index 5cc20ea71..b8145fa03 100644 --- a/retroshare-gui/src/gui/feeds/ForumMsgItem.cpp +++ b/retroshare-gui/src/gui/feeds/ForumMsgItem.cpp @@ -218,7 +218,7 @@ void ForumMsgItem::updateItemStatic() } /* header stuff */ - subjectLabel->setText(ForumsDialog::titleFromInfo(msg)); + subjectLabel->setText(link.toHtml()); //srcLabel->setText(QString::fromStdString(msg.srcId)); } diff --git a/retroshare-gui/src/gui/feeds/ForumMsgItem.ui b/retroshare-gui/src/gui/feeds/ForumMsgItem.ui index 82a592a06..36f19c0ce 100644 --- a/retroshare-gui/src/gui/feeds/ForumMsgItem.ui +++ b/retroshare-gui/src/gui/feeds/ForumMsgItem.ui @@ -96,6 +96,9 @@ border-radius: 10px} true + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse +