mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-14 00:09:24 +01:00
Resolve [-Wunused-lambda-capture]
This commit is contained in:
parent
1cf30055b2
commit
d9a49c68d9
@ -885,7 +885,7 @@ void MemoryViewWidget::OnContextMenu(const QPoint& pos)
|
|||||||
auto* copy_hex = menu->addAction(tr("Copy Hex"), this, [this, addr] { OnCopyHex(addr); });
|
auto* copy_hex = menu->addAction(tr("Copy Hex"), this, [this, addr] { OnCopyHex(addr); });
|
||||||
copy_hex->setEnabled(item_has_value);
|
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());
|
QApplication::clipboard()->setText(item_selected->text());
|
||||||
});
|
});
|
||||||
copy_value->setEnabled(item_has_value);
|
copy_value->setEnabled(item_has_value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user