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