From c39f00194d2375a1f6200dd540fb2e6cc3793af8 Mon Sep 17 00:00:00 2001 From: spycrab Date: Thu, 24 May 2018 00:01:05 +0200 Subject: [PATCH] Qt/MappingButton: Fix window becoming unresponsive after mapping --- Source/Core/DolphinQt2/Config/Mapping/MappingButton.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/DolphinQt2/Config/Mapping/MappingButton.cpp b/Source/Core/DolphinQt2/Config/Mapping/MappingButton.cpp index b63073cfa6..3453eb1d75 100644 --- a/Source/Core/DolphinQt2/Config/Mapping/MappingButton.cpp +++ b/Source/Core/DolphinQt2/Config/Mapping/MappingButton.cpp @@ -104,7 +104,6 @@ void MappingButton::Detect() installEventFilter(BlockUserInputFilter::Instance()); grabKeyboard(); - grabMouse(); // Make sure that we don't block event handling std::thread thread([this] { @@ -118,7 +117,6 @@ void MappingButton::Detect() const auto expr = MappingCommon::DetectExpression( m_reference, dev.get(), m_parent->GetController()->GetDefaultDevice()); - releaseMouse(); releaseKeyboard(); removeEventFilter(BlockUserInputFilter::Instance());