Qt: do not hide exception from application, raising exception inside DeliverMessage was wrong

git-svn-id: trunk@37316 -
This commit is contained in:
zeljko 2012-05-18 14:41:24 +00:00
parent 96616afa61
commit 9322aa8ab4

View File

@ -5061,8 +5061,7 @@ begin
DebugLn(Format('WARNING: %s has been destroyed while processing input event %u result %u',
[ClassName, AEvent, Result]));
end else
raise Exception.CreateFmt('%s.DeliverMessage(): error in event %u result %u',
[ClassName, AEvent, Result]);
Application.HandleException(nil);
end;
end;