mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 09:59:32 -06:00
Fix mapping window title bar becoming unresponsive
This commit is contained in:
@ -88,6 +88,8 @@ QString DetectExpression(QPushButton* button, ciface::Core::DeviceContainer& dev
|
|||||||
|
|
||||||
const auto timer = new QTimer(button);
|
const auto timer = new QTimer(button);
|
||||||
|
|
||||||
|
timer->setSingleShot(true);
|
||||||
|
|
||||||
button->connect(timer, &QTimer::timeout, [button, filter] {
|
button->connect(timer, &QTimer::timeout, [button, filter] {
|
||||||
button->releaseMouse();
|
button->releaseMouse();
|
||||||
button->releaseKeyboard();
|
button->releaseKeyboard();
|
||||||
|
Reference in New Issue
Block a user