diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2019-04-24 14:03:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-24 14:03:17 +0200 |
| commit | ea0846463fe31eac006f7c124ef023c9fbd2e2f8 (patch) | |
| tree | 221db8a9d7c7c360c98391c092381ac649156e2b /Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp | |
| parent | 8feacce7833ccbdc149762a38fc836aa0b4cb443 (diff) | |
| parent | 7f861f095a5ba3ba71886cdc79d31431a40c317f (diff) | |
Merge pull request #8031 from spycrab/qt_remove_iterative_input
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(); |
