Merge pull request #11687 from Minty-Meeo/warnings

Resolve GCC/Clang Warnings
This commit is contained in:
Léo Lam
2023-04-14 01:29:46 +01:00
committed by GitHub
22 changed files with 75 additions and 108 deletions

View File

@ -891,7 +891,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);