Skip to content

Commit

Permalink
Merge pull request #6953 from spycrab/qt_map_unresponsive
Browse files Browse the repository at this point in the history
Qt/MappingButton: Fix window becoming unresponsive after mapping
  • Loading branch information
spycrab committed May 23, 2018
2 parents 4c1425b + c39f001 commit a60bba3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Source/Core/DolphinQt2/Config/Mapping/MappingButton.cpp
Expand Up @@ -106,7 +106,6 @@ void MappingButton::Detect()


installEventFilter(BlockUserInputFilter::Instance()); installEventFilter(BlockUserInputFilter::Instance());
grabKeyboard(); grabKeyboard();
grabMouse();


// Make sure that we don't block event handling // Make sure that we don't block event handling
std::thread thread([this] { std::thread thread([this] {
Expand Down Expand Up @@ -169,7 +168,6 @@ void MappingButton::Detect()
m_parent->GetController()->GetDefaultDevice()); m_parent->GetController()->GetDefaultDevice());
} }


releaseMouse();
releaseKeyboard(); releaseKeyboard();
removeEventFilter(BlockUserInputFilter::Instance()); removeEventFilter(BlockUserInputFilter::Instance());


Expand Down

0 comments on commit a60bba3

Please sign in to comment.