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

View file

@ -93,7 +93,7 @@ UserMentions::pushItem(const QString &event_id,
local_scroll_layout_->addWidget(local_view_item); 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->show();
local_view_item->adjustSize(); local_view_item->adjustSize();
}); });