From 91d7364451e12488d8d631db51161c77f2817773 Mon Sep 17 00:00:00 2001 From: sekelsenmat Date: Mon, 29 Oct 2007 09:10:25 +0000 Subject: [PATCH] Small fix for events on Qt. git-svn-id: trunk@12624 - --- lcl/interfaces/qt/qtobject.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/interfaces/qt/qtobject.inc b/lcl/interfaces/qt/qtobject.inc index 644aae3de6..8279cebc34 100644 --- a/lcl/interfaces/qt/qtobject.inc +++ b/lcl/interfaces/qt/qtobject.inc @@ -142,7 +142,7 @@ begin since it produces AV's sometimes, so better check is there any pending event.} if not QCoreApplication_hasPendingEvents then - QCoreApplication_processEvents(QEventLoopWaitForMoreEvents); + QCoreApplication_processEvents(QEventLoopWaitForMoreEvents or QEventLoopDeferredDeletion); end; {------------------------------------------------------------------------------