From 7f861f095a5ba3ba71886cdc79d31431a40c317f Mon Sep 17 00:00:00 2001 From: spycrab Date: Tue, 23 Apr 2019 22:10:17 +0200 Subject: Qt/Mapping: Remove iterative input --- .../DolphinQt/Config/Mapping/MappingWidget.cpp | 23 ---------------------- 1 file changed, 23 deletions(-) (limited to 'Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp') diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp index 257b9008c5..dd1d833947 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp @@ -46,29 +46,6 @@ MappingWindow* MappingWidget::GetParent() const return m_parent; } -bool MappingWidget::IsIterativeInput() const -{ - return m_parent->IsIterativeInput(); -} - -void MappingWidget::NextButton(MappingButton* button) -{ - auto iterator = std::find(m_buttons.begin(), m_buttons.end(), button); - - if (iterator == m_buttons.end()) - return; - - if (++iterator == m_buttons.end()) - return; - - MappingButton* next = *iterator; - - if (next->IsInput() && next->isVisible()) - next->Detect(); - else - NextButton(next); -} - int MappingWidget::GetPort() const { return m_parent->GetPort(); -- cgit v1.2.3