diff --git a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp index 40e50685e..cb6b85a5f 100644 --- a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp +++ b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp @@ -161,7 +161,6 @@ void BoardPostDisplayWidgetBase::setup() titleLabel()->setText(tr("Loading")); dateLabel()->clear(); fromLabel()->clear(); - siteLabel()->clear(); QObject::connect(commentButton(), SIGNAL(toggled(bool)), this, SLOT(loadComments(bool))); QObject::connect(voteUpButton(), SIGNAL(clicked()), this, SLOT(makeUpVote())); @@ -241,17 +240,12 @@ void BoardPostDisplayWidgetBase::setup() urlstr += QString(" "); QString siteurl = url.toEncoded(); - sitestr = QString(" %2 ").arg(siteurl).arg(siteurl); titleLabel()->setText(urlstr); + titleLabel()->setToolTip(siteurl); } else titleLabel()->setText( QString::fromUtf8(mPost.mMeta.mMsgName.c_str()) ); - - if (urlarray.isEmpty()) - siteLabel()->hide(); - - siteLabel()->setText(sitestr); } //QString score = "Hot" + QString::number(post.mHotScore); @@ -419,7 +413,6 @@ QToolButton *BoardPostDisplayWidget_compact::commentButton() { return ui->co QToolButton *BoardPostDisplayWidget_compact::voteDownButton() { return ui->voteDownButton; } QLabel *BoardPostDisplayWidget_compact::newLabel() { return ui->newLabel; } QToolButton *BoardPostDisplayWidget_compact::readButton() { return ui->readButton; } -QLabel *BoardPostDisplayWidget_compact::siteLabel() { return ui->siteLabel; } GxsIdLabel *BoardPostDisplayWidget_compact::fromLabel() { return ui->fromLabel; } QLabel *BoardPostDisplayWidget_compact::dateLabel() { return ui->dateLabel; } QLabel *BoardPostDisplayWidget_compact::titleLabel() { return ui->titleLabel; } @@ -499,7 +492,6 @@ QToolButton *BoardPostDisplayWidget_card::commentButton() { return ui->comme QToolButton *BoardPostDisplayWidget_card::voteDownButton() { return ui->voteDownButton; } QLabel *BoardPostDisplayWidget_card::newLabel() { return ui->newLabel; } QToolButton *BoardPostDisplayWidget_card::readButton() { return ui->readButton; } -QLabel *BoardPostDisplayWidget_card::siteLabel() { return ui->siteLabel; } GxsIdLabel *BoardPostDisplayWidget_card::fromLabel() { return ui->fromLabel; } QLabel *BoardPostDisplayWidget_card::dateLabel() { return ui->dateLabel; } QLabel *BoardPostDisplayWidget_card::titleLabel() { return ui->titleLabel; } diff --git a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.h b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.h index 30720d692..32ce60a2a 100644 --- a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.h +++ b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.h @@ -72,7 +72,6 @@ protected slots: virtual QToolButton *voteDownButton() =0; virtual QLabel *newLabel() =0; virtual QLabel *titleLabel()=0; - virtual QLabel *siteLabel()=0; virtual GxsIdLabel *fromLabel()=0; virtual QLabel *dateLabel()=0; virtual QLabel *scoreLabel() =0; @@ -120,7 +119,6 @@ public: QToolButton *commentButton() override; QToolButton *voteDownButton() override; QLabel *newLabel() override; - QLabel *siteLabel() override; GxsIdLabel *fromLabel() override; QLabel *dateLabel() override; QLabel *titleLabel() override; @@ -160,7 +158,6 @@ public: QToolButton *commentButton() override; QToolButton *voteDownButton() override; QLabel *newLabel() override; - QLabel *siteLabel() override; GxsIdLabel *fromLabel() override; QLabel *dateLabel() override; QLabel *titleLabel() override; diff --git a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget_card.ui b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget_card.ui index 11c5dd748..f90f9562c 100644 --- a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget_card.ui +++ b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget_card.ui @@ -6,8 +6,8 @@ 0 0 - 558 - 202 + 426 + 176 @@ -327,22 +327,6 @@ - - - - - 0 - 0 - - - - site - - - true - - - diff --git a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget_compact.ui b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget_compact.ui index 21fa7d87c..3b60791aa 100644 --- a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget_compact.ui +++ b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget_compact.ui @@ -6,8 +6,8 @@ 0 0 - 540 - 172 + 542 + 150 @@ -302,22 +302,6 @@ - - - - - 0 - 0 - - - - site - - - true - - -