Fix lambda capture issue

remotes/origin/0.7.0-dev
Joseph Donofry 6 years ago
parent 80a8810116
commit 24a6495291
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 2
      src/dialogs/UserMentions.cpp

@ -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();
}); });

Loading…
Cancel
Save