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
This commit is contained in:
thunder2 2012-04-09 15:01:25 +00:00
parent 665b7fbf47
commit 681ec848e0
2 changed files with 4 additions and 1 deletions

View File

@ -218,7 +218,7 @@ void ForumMsgItem::updateItemStatic()
} }
/* header stuff */ /* header stuff */
subjectLabel->setText(ForumsDialog::titleFromInfo(msg)); subjectLabel->setText(link.toHtml());
//srcLabel->setText(QString::fromStdString(msg.srcId)); //srcLabel->setText(QString::fromStdString(msg.srcId));
} }

View File

@ -96,6 +96,9 @@ border-radius: 10px}</string>
<property name="openExternalLinks"> <property name="openExternalLinks">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>