mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 13:29:21 +02:00
Small fix for events on Qt.
git-svn-id: trunk@12624 -
This commit is contained in:
parent
2ea31e1d92
commit
91d7364451
@ -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;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user