mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 13:49:04 -04:00
Fix for boards links
This commit is contained in:
parent
cc3cd63477
commit
ef886b9d5b
4 changed files with 11 additions and 6 deletions
|
@ -236,7 +236,7 @@ void BoardPostDisplayWidgetBase::baseSetup()
|
||||||
{
|
{
|
||||||
QString siteurl = url.toEncoded();
|
QString siteurl = url.toEncoded();
|
||||||
|
|
||||||
label->setStyleSheet("text-decoration: underline; color:#2255AA;");
|
label->setStyleSheet("text-decoration: underline; color:#039bc6;");
|
||||||
label->setCursor(QCursor(Qt::PointingHandCursor));
|
label->setCursor(QCursor(Qt::PointingHandCursor));
|
||||||
label->setToolTip(siteurl);
|
label->setToolTip(siteurl);
|
||||||
|
|
||||||
|
|
|
@ -231,12 +231,12 @@ void PostedCardView::fill()
|
||||||
{
|
{
|
||||||
QString urlstr = QString("<a href=\"");
|
QString urlstr = QString("<a href=\"");
|
||||||
urlstr += QString(url.toEncoded());
|
urlstr += QString(url.toEncoded());
|
||||||
urlstr += QString("\" ><span style=\" text-decoration: underline; color:#2255AA;\"> ");
|
urlstr += QString("\" ><span style=\" text-decoration: underline; color:#039bc6;\"> ");
|
||||||
urlstr += messageName();
|
urlstr += messageName();
|
||||||
urlstr += QString(" </span></a>");
|
urlstr += QString(" </span></a>");
|
||||||
|
|
||||||
QString siteurl = url.toEncoded();
|
QString siteurl = url.toEncoded();
|
||||||
sitestr = QString("<a href=\"%1\" ><span style=\" text-decoration: underline; color:#0079d3;\"> %2 </span></a>").arg(siteurl).arg(siteurl);
|
sitestr = QString("<a href=\"%1\" ><span style=\" text-decoration: underline; color:#039bc6;\"> %2 </span></a>").arg(siteurl).arg(siteurl);
|
||||||
|
|
||||||
ui->titleLabel->setText(urlstr);
|
ui->titleLabel->setText(urlstr);
|
||||||
}else
|
}else
|
||||||
|
|
|
@ -548,12 +548,12 @@ void PostedItem::fill()
|
||||||
{
|
{
|
||||||
urlstr = QString("<a href=\"");
|
urlstr = QString("<a href=\"");
|
||||||
urlstr += QString(url.toEncoded());
|
urlstr += QString(url.toEncoded());
|
||||||
urlstr += QString("\" ><span style=\" text-decoration: underline; color:#2255AA;\"> ");
|
urlstr += QString("\" ><span style=\" text-decoration: underline; color:#039bc6;\"> ");
|
||||||
urlstr += messageName();
|
urlstr += messageName();
|
||||||
urlstr += QString(" </span></a>");
|
urlstr += QString(" </span></a>");
|
||||||
|
|
||||||
QString siteurl = url.toEncoded();
|
QString siteurl = url.toEncoded();
|
||||||
sitestr = QString("<a href=\"%1\" ><span style=\" text-decoration: underline; color:#0079d3;\"> %2 </span></a>").arg(siteurl).arg(siteurl);
|
sitestr = QString("<a href=\"%1\" ><span style=\" text-decoration: underline; color:#039bc6;\"> %2 </span></a>").arg(siteurl).arg(siteurl);
|
||||||
|
|
||||||
ui->titleLabel->setText(urlstr);
|
ui->titleLabel->setText(urlstr);
|
||||||
}else
|
}else
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
<item row="2" column="0">
|
<item row="2" column="0">
|
||||||
<widget class="QTextBrowser" name="trans_Description">
|
<widget class="RSTextBrowser" name="trans_Description">
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true"/>
|
<string notr="true"/>
|
||||||
</property>
|
</property>
|
||||||
|
@ -619,6 +619,11 @@ p, li { white-space: pre-wrap; }
|
||||||
<header>gui/common/RSTabWidget.h</header>
|
<header>gui/common/RSTabWidget.h</header>
|
||||||
<container>1</container>
|
<container>1</container>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
|
<customwidget>
|
||||||
|
<class>RSTextBrowser</class>
|
||||||
|
<extends>QTextBrowser</extends>
|
||||||
|
<header>gui/common/RSTextBrowser.h</header>
|
||||||
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../icons.qrc"/>
|
<include location="../icons.qrc"/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue