summary refs log tree commit diff
path: root/src/SuggestionsPopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SuggestionsPopup.cpp')
-rw-r--r--src/SuggestionsPopup.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/SuggestionsPopup.cpp b/src/SuggestionsPopup.cpp

index 5ea78460..952d2ef3 100644 --- a/src/SuggestionsPopup.cpp +++ b/src/SuggestionsPopup.cpp
@@ -42,9 +42,6 @@ UserItem::UserItem(QWidget *parent, const QString &user_id) : PopupItem(parent) , userId_{user_id} { - QFont font; - font.setPixelSize(conf::popup::font); - auto displayName = Cache::displayName(ChatPage::instance()->currentRoom(), userId_); avatar_->setSize(conf::popup::avatar); @@ -55,7 +52,6 @@ UserItem::UserItem(QWidget *parent, const QString &user_id) avatar_->setLetter(QChar(displayName.at(1))); userName_ = new QLabel(displayName, this); - userName_->setFont(font); topLayout_->addWidget(avatar_); topLayout_->addWidget(userName_, 1);