diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2019-04-23 22:10:17 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2019-04-23 22:59:34 +0200 |
| commit | 7f861f095a5ba3ba71886cdc79d31431a40c317f (patch) | |
| tree | 1f8da859418fbce65c23eca166decccf329f6043 /Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp | |
| parent | 2abe333ce94f63971cbee8ea51b22d1df4456ad4 (diff) | |
Qt/Mapping: Remove iterative input
Diffstat (limited to 'Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
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(); |
