mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 02:49:06 +02:00
Qt6: fixed crash while processing wheelscroll event inside mdiarea window.
(cherry picked from commit 805a8817ed
)
This commit is contained in:
parent
0cc1dc98eb
commit
5ee189f43a
@ -6702,7 +6702,7 @@ begin
|
||||
try
|
||||
Result := SlotMouseWheel(Sender, AEvent);
|
||||
finally
|
||||
QEvent_destroy(Event);
|
||||
QEvent_destroy(AEvent);
|
||||
end;
|
||||
Result := False;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user