Small fix for events on Qt.

git-svn-id: trunk@12624 -
This commit is contained in:
sekelsenmat 2007-10-29 09:10:25 +00:00
parent 2ea31e1d92
commit 91d7364451

View File

@ -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;
{------------------------------------------------------------------------------