diff --git a/retroshare-gui/src/gui/common/ElidedLabel.cpp b/retroshare-gui/src/gui/common/ElidedLabel.cpp index f12bcc142..c444c8113 100644 --- a/retroshare-gui/src/gui/common/ElidedLabel.cpp +++ b/retroshare-gui/src/gui/common/ElidedLabel.cpp @@ -34,10 +34,10 @@ ElidedLabel::ElidedLabel(const QString &text, QWidget *parent) , mElided(false) , mOnlyPlainText(false) , mContent(text) + , mRectElision(QRect()) , mTextColor(QColor()) { - setStyleSheet("background-color: rgba(0,0,0,0%)"); - mRectElision = QRect(); + setStyleSheet("ElidedLabel{background-color: rgba(0,0,0,0%)}"); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); } @@ -46,10 +46,10 @@ ElidedLabel::ElidedLabel(QWidget *parent) , mElided(false) , mOnlyPlainText(false) , mContent("") + , mRectElision(QRect()) , mTextColor(QColor()) { - setStyleSheet("background-color: rgba(0,0,0,0%)"); - mRectElision = QRect(); + setStyleSheet("ElidedLabel{background-color: rgba(0,0,0,0%)}"); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); } diff --git a/retroshare-gui/src/gui/qss/stylesheet/qss.default b/retroshare-gui/src/gui/qss/stylesheet/qss.default index 629864e71..736060d7c 100644 --- a/retroshare-gui/src/gui/qss/stylesheet/qss.default +++ b/retroshare-gui/src/gui/qss/stylesheet/qss.default @@ -154,7 +154,6 @@ GxsForumThreadWidget StyledElidedLabel#forumName padding: 2px; font: bold; font-size: 15px; - text-decoration: underline; } GroupTreeWidget