summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2018-06-03 13:50:56 +0200
committerGitHub <noreply@github.com>2018-06-03 13:50:56 +0200
commit66ee47c4179c2948dfa107df852fdb709cedf7b4 (patch)
tree83fda7b1516801f12d68e1dc99233715b99493bd /Source/Core
parent327eb1336b5b33ce50ff0c4320ef6d5074bfc930 (diff)
parent0cc20e95feaa433907f3a829692e9904ce9097ed (diff)
Merge pull request #7056 from spycrab/qt_hk_debug
Qt/HotkeyWindow: Always show debugging tab
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt2/Config/Mapping/MappingWindow.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/Source/Core/DolphinQt2/Config/Mapping/MappingWindow.cpp b/Source/Core/DolphinQt2/Config/Mapping/MappingWindow.cpp
index c405512e17..8c12276c26 100644
--- a/Source/Core/DolphinQt2/Config/Mapping/MappingWindow.cpp
+++ b/Source/Core/DolphinQt2/Config/Mapping/MappingWindow.cpp
@@ -304,16 +304,7 @@ void MappingWindow::SetMappingType(MappingWindow::Type type)
AddWidget(tr("General"), widget);
AddWidget(tr("TAS Tools"), new HotkeyTAS(this));
- HotkeyDebugging* debugging_widget = new HotkeyDebugging(this);
- QWidget* debugging_widget_wrapper = GetWrappedWidget(debugging_widget, this, 150, 205);
- connect(&Settings::Instance(), &Settings::DebugModeToggled, this, [=](bool enabled) {
- if (enabled)
- m_tab_widget->insertTab(2, debugging_widget_wrapper, tr("Debugging"));
- else
- m_tab_widget->removeTab(2);
- });
- if (Settings::Instance().IsDebugModeEnabled())
- AddWidget(tr("Debugging"), debugging_widget);
+ AddWidget(tr("Debugging"), new HotkeyDebugging(this));
AddWidget(tr("Wii and Wii Remote"), new HotkeyWii(this));
AddWidget(tr("Graphics"), new HotkeyGraphics(this));