Fix lambda capture issue

This commit is contained in:
Joseph Donofry 2019-07-29 15:37:21 -04:00
parent 80a8810116
commit 24a6495291
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ UserMentions::pushItem(const QString &event_id,
local_scroll_layout_->addWidget(local_view_item);
QTimer::singleShot(0, this, [local_view_item, this]() {
QTimer::singleShot(0, this, [local_view_item]() {
local_view_item->show();
local_view_item->adjustSize();
});