diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-07-10 20:20:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-10 20:20:27 +0200 |
| commit | 71ff634c95bdaf03d5f73f4c9de21f17a7e221af (patch) | |
| tree | efe69b805f4e0033b7e09e12545b20dddd56e21b /Source/Core/DolphinQt/Debugger/RegisterWidget.cpp | |
| parent | b9960777a72c66f3b217669b554254ce6ddb3664 (diff) | |
| parent | 074b67706b6e5e436f07dc77af460f3e7cd7bc72 (diff) | |
Merge pull request #7149 from spycrab/qt_5.9
Qt: Make Qt 5.9 a hard requirement
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()); } |
