diff options
| author | debug687 <313431556+debug687@users.noreply.github.com> | 2026-10-19 21:29:55 +0000 |
|---|---|---|
| committer | OatmealDome <julian@oatmealdome.me> | 2026-11-06 17:54:43 -0500 |
| commit | 5eaaba5a4328d63ab7fe1147c9478ebda26746ff (patch) | |
| tree | dbe9ced5641d895d9042219ae41343aa9c986268 /Source/Core/InputCommon/ControlReference/FunctionExpression.cpp | |
| parent | ba77539b53d79a8d7d5a7c6a63a692487ca75d08 (diff) | |
DolphinQt: Fix crash from stale timer event in ToolTipWidget
LLM generated explaination for the LLM generated commit:
A queued QTimerEvent can be dispatched after the timer was already killed (Qt recycles timer ids), e.g. when a slider is dragged and enter/leave events fire in rapid succession. In that case m_timer_id is empty and dereferencing it in timerEvent() asserts on 'this->_M_is_engaged()' in debug builds, while in release builds it passes a garbage timer id to killTimer().
Only process the event if it matches the timer we are tracking, which also prevents showing a balloon for a stale event.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/FunctionExpression.cpp')
0 files changed, 0 insertions, 0 deletions
