summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/MenuBar.cpp10
-rw-r--r--Source/Core/DolphinQt/MenuBar.h1
2 files changed, 1 insertions, 10 deletions
diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp
index 8f3509b214..1b7cb396d2 100644
--- a/Source/Core/DolphinQt/MenuBar.cpp
+++ b/Source/Core/DolphinQt/MenuBar.cpp
@@ -131,9 +131,6 @@ void MenuBar::OnEmulationStateChanged(Core::State state)
// Options
m_controllers_action->setEnabled(NetPlay::IsNetPlayRunning() ? !running : true);
- // Tools
- m_show_cheat_manager->setEnabled(Settings::Instance().GetCheatsEnabled() && running);
-
// JIT
m_jit_interpreter_core->setEnabled(running);
m_jit_block_linking->setEnabled(!running);
@@ -228,12 +225,7 @@ void MenuBar::AddToolsMenu()
tools_menu->addAction(tr("&Resource Pack Manager"), this,
[this] { emit ShowResourcePackManager(); });
- m_show_cheat_manager =
- tools_menu->addAction(tr("&Cheats Manager"), this, [this] { emit ShowCheatsManager(); });
-
- connect(&Settings::Instance(), &Settings::EnableCheatsChanged, this, [this](bool enabled) {
- m_show_cheat_manager->setEnabled(Core::GetState() != Core::State::Uninitialized && enabled);
- });
+ tools_menu->addAction(tr("&Cheats Manager"), this, [this] { emit ShowCheatsManager(); });
tools_menu->addAction(tr("FIFO Player"), this, &MenuBar::ShowFIFOPlayer);
diff --git a/Source/Core/DolphinQt/MenuBar.h b/Source/Core/DolphinQt/MenuBar.h
index 1ac69022d4..d745f52e9b 100644
--- a/Source/Core/DolphinQt/MenuBar.h
+++ b/Source/Core/DolphinQt/MenuBar.h
@@ -196,7 +196,6 @@ private:
QMenu* m_backup_menu;
// Tools
- QAction* m_show_cheat_manager;
QAction* m_wad_install_action;
QMenu* m_perform_online_update_menu;
QAction* m_perform_online_update_for_current_region;