mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
Resolve [-Wunused-lambda-capture]
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user