Qt6: fixed crash while processing wheelscroll event inside mdiarea window.

This commit is contained in:
zeljan1 2023-08-23 19:51:33 +02:00
parent 8a60ec04de
commit 805a8817ed

View File

@ -6704,7 +6704,7 @@ begin
try
Result := SlotMouseWheel(Sender, AEvent);
finally
QEvent_destroy(Event);
QEvent_destroy(AEvent);
end;
Result := False;
end;