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

(cherry picked from commit 805a8817ed)
This commit is contained in:
zeljan1 2023-08-23 19:51:33 +02:00 committed by Željan Rikalo
parent 0cc1dc98eb
commit 5ee189f43a

View File

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