diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-07-09 10:02:10 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-07-09 10:02:10 +0200 |
| commit | a22ffb6387d9500283baf0079c55e8a6623b3f5f (patch) | |
| tree | 88056e8cea306852159334786d087af2be74e8fb /Source/Core/DolphinQt/Debugger/RegisterWidget.cpp | |
| parent | 4266d1f237850977c7c1d95112c57fdbd4312d0f (diff) | |
Qt: Remove ActionHelper
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/RegisterWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/RegisterWidget.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp index 995b6db84e..04d658d5f0 100644 --- a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp @@ -15,7 +15,6 @@ #include "Core/HW/ProcessorInterface.h" #include "Core/PowerPC/PowerPC.h" #include "DolphinQt/Host.h" -#include "DolphinQt/QtUtils/ActionHelper.h" #include "DolphinQt/Settings.h" RegisterWidget::RegisterWidget(QWidget* parent) : QDockWidget(parent) @@ -118,8 +117,8 @@ void RegisterWidget::ShowContextMenu() auto type = static_cast<RegisterType>(item->data(DATA_TYPE).toInt()); auto display = item->GetDisplay(); - AddAction(menu, tr("Add to &watch"), this, - [this, item] { emit RequestMemoryBreakpoint(item->GetValue()); }); + menu->addAction(tr("Add to &watch"), this, + [this, item] { emit RequestMemoryBreakpoint(item->GetValue()); }); menu->addAction(tr("View &memory")); menu->addAction(tr("View &code")); @@ -211,7 +210,7 @@ void RegisterWidget::ShowContextMenu() menu->addSeparator(); } - AddAction(menu, tr("Update"), this, [this] { emit RequestTableUpdate(); }); + menu->addAction(tr("Update"), this, [this] { emit RequestTableUpdate(); }); menu->exec(QCursor::pos()); } |
