diff options
| author | Minty-Meeo <45425365+Minty-Meeo@users.noreply.github.com> | 2023-03-23 12:00:41 -0500 |
|---|---|---|
| committer | get <45425365+Minty-Meeo@users.noreply.github.com> | 2023-04-10 14:21:15 -0500 |
| commit | d9a49c68d98a4a45eddd69007b2e15cdea6798f5 (patch) | |
| tree | dd0f991919f4760fa96d46853130dbc5db918c55 /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | |
| parent | 1cf30055b26fa2966c411ae9e70510daaa21174a (diff) | |
Resolve [-Wunused-lambda-capture]
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp index 46db6477d4..eda208da00 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp @@ -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); |
