diff options
| author | Dr. Dystopia <jonis9898@hotmail.com> | 2025-04-28 22:02:56 +0200 |
|---|---|---|
| committer | Dr. Dystopia <jonis9898@hotmail.com> | 2025-06-14 10:19:31 +0200 |
| commit | ca8f9b672b3d8da3e2974802e89f6c6b6e23d99e (patch) | |
| tree | b6dd8deb5f1bf6d110d71a73521a241d37c577b1 /Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp | |
| parent | 95f6c76713e6c2a6b50f1a149a7886e72fea6ec7 (diff) | |
Source: Remove redundant lambda parameter lists
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp index dacf78494d..3aeda0efe7 100644 --- a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp @@ -127,7 +127,7 @@ BreakpointWidget::BreakpointWidget(QWidget* parent) setHidden(!enabled || !Settings::Instance().IsBreakpointsVisible()); }); - connect(&Settings::Instance(), &Settings::ThemeChanged, this, [this]() { + connect(&Settings::Instance(), &Settings::ThemeChanged, this, [this] { UpdateIcons(); Update(); }); @@ -525,7 +525,7 @@ void BreakpointWidget::OnContextMenu(const QPoint& pos) menu->addAction(tr("Show in Code"), [this, bp_address] { emit ShowCode(bp_address); }); menu->addAction(tr("Edit..."), [this, bp_address] { OnEditBreakpoint(bp_address, true); }); - menu->addAction(tr("Delete"), [this, &bp_address]() { + menu->addAction(tr("Delete"), [this, &bp_address] { m_system.GetPowerPC().GetBreakPoints().Remove(bp_address); emit Host::GetInstance()->PPCBreakpointsChanged(); }); @@ -538,7 +538,7 @@ void BreakpointWidget::OnContextMenu(const QPoint& pos) menu->addAction(tr("Show in Memory"), [this, bp_address] { emit ShowMemory(bp_address); }); menu->addAction(tr("Edit..."), [this, bp_address] { OnEditBreakpoint(bp_address, false); }); - menu->addAction(tr("Delete"), [this, &bp_address]() { + menu->addAction(tr("Delete"), [this, &bp_address] { const QSignalBlocker blocker(Settings::Instance()); m_system.GetPowerPC().GetMemChecks().Remove(bp_address); emit Host::GetInstance()->PPCBreakpointsChanged(); |
