mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
Added links colors with settings feature
This commit is contained in:
parent
5361bed037
commit
5abefa4664
23 changed files with 170 additions and 18 deletions
|
@ -229,9 +229,14 @@ void PostedCardView::fill()
|
|||
|
||||
if (urlOkay)
|
||||
{
|
||||
linkColor = Settings->getLinkColor();
|
||||
QString colorstring = QString("%1;").arg(linkColor.name());
|
||||
|
||||
QString urlstr = QString("<a href=\"");
|
||||
urlstr += QString(url.toEncoded());
|
||||
urlstr += QString("\" ><span style=\" text-decoration: underline; color:#2255AA;\"> ");
|
||||
urlstr += QString("\" ><span style=\" text-decoration: underline; color:");
|
||||
urlstr += colorstring;
|
||||
urlstr += QString("\"> ");
|
||||
urlstr += messageName();
|
||||
urlstr += QString(" </span></a>");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue