summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtRosterHeader.cpp')
-rw-r--r--Swift/QtUI/QtRosterHeader.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Swift/QtUI/QtRosterHeader.cpp b/Swift/QtUI/QtRosterHeader.cpp
index 5c89e2a..0270a5e 100644
--- a/Swift/QtUI/QtRosterHeader.cpp
+++ b/Swift/QtUI/QtRosterHeader.cpp
@@ -41,6 +41,9 @@ QtRosterHeader::QtRosterHeader(QWidget* parent) : QWidget(parent) {
nameLabel_ = new QtElidingLabel(this);
setName("Me");
+ QFont font = nameLabel_->font();
+ font.setBold(true);
+ nameLabel_->setFont(font);
rightLayout->addWidget(nameLabel_);
@@ -92,7 +95,8 @@ void QtRosterHeader::setName(const QString& name) {
name_ = name;
QString escapedName = name_;
escapedName.replace("<","&lt;");
- nameLabel_->setText("<b>" + escapedName + "</b>");
+// nameLabel_->setText("<b>" + escapedName + "</b>");
+ nameLabel_->setText(escapedName);
// resizeNameLabel();
}