Show avatars in the completion popup
This commit is contained in:
parent
97326243db
commit
72d5d6d286
12 changed files with 102 additions and 87 deletions
|
|
@ -44,8 +44,8 @@ PopupItem::PopupItem(QWidget *parent, const QString &user_id)
|
|||
topLayout_->addWidget(avatar_);
|
||||
topLayout_->addWidget(userName_, 1);
|
||||
|
||||
/* AvatarProvider::resolve(user_id, [this](const QImage &img) { avatar_->setImage(img); });
|
||||
*/
|
||||
AvatarProvider::resolve(
|
||||
user_id, this, [this](const QImage &img) { avatar_->setImage(img); });
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue