mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Merge pull request #6953 from spycrab/qt_map_unresponsive
Qt/MappingButton: Fix window becoming unresponsive after mapping
This commit is contained in:
commit
a60bba37cd
1 changed files with 0 additions and 2 deletions
|
@ -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] {
|
||||||
|
@ -169,7 +168,6 @@ void MappingButton::Detect()
|
||||||
m_parent->GetController()->GetDefaultDevice());
|
m_parent->GetController()->GetDefaultDevice());
|
||||||
}
|
}
|
||||||
|
|
||||||
releaseMouse();
|
|
||||||
releaseKeyboard();
|
releaseKeyboard();
|
||||||
removeEventFilter(BlockUserInputFilter::Instance());
|
removeEventFilter(BlockUserInputFilter::Instance());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue