From 9322aa8ab4ab202543588209c285ec79e73676c1 Mon Sep 17 00:00:00 2001 From: zeljko Date: Fri, 18 May 2012 14:41:24 +0000 Subject: [PATCH] Qt: do not hide exception from application, raising exception inside DeliverMessage was wrong git-svn-id: trunk@37316 - --- lcl/interfaces/qt/qtwidgets.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lcl/interfaces/qt/qtwidgets.pas b/lcl/interfaces/qt/qtwidgets.pas index 25572dc43b..27ecd35ed1 100644 --- a/lcl/interfaces/qt/qtwidgets.pas +++ b/lcl/interfaces/qt/qtwidgets.pas @@ -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;