Resolve [-Wunused-lambda-capture]

This commit is contained in:
Minty-Meeo 2023-03-23 12:00:41 -05:00 committed by get
parent 1cf30055b2
commit d9a49c68d9
1 changed files with 1 additions and 1 deletions

View File

@ -885,7 +885,7 @@ void MemoryViewWidget::OnContextMenu(const QPoint& pos)
auto* copy_hex = menu->addAction(tr("Copy Hex"), this, [this, addr] { OnCopyHex(addr); });
copy_hex->setEnabled(item_has_value);
auto* copy_value = menu->addAction(tr("Copy Value"), this, [this, item_selected] {
auto* copy_value = menu->addAction(tr("Copy Value"), this, [item_selected] {
QApplication::clipboard()->setText(item_selected->text());
});
copy_value->setEnabled(item_has_value);