Qt: process noninput events after calling repaint of splash form.Needed on slower machines to avoid gray splashscreen.

git-svn-id: trunk@45280 -
This commit is contained in:
zeljko 2014-06-01 09:47:48 +00:00
parent 434cf400b6
commit 5d0bda950c

View File

@ -597,7 +597,10 @@ begin
X11Raise(QWidget_winID(Widget.Widget));
end else
if (TForm(AWinControl).FormStyle = fsSplash) then
begin
QWidget_repaint(Widget.GetContainerWidget);
QCoreApplication_processEvents(QEventLoopExcludeUserInputEvents);
end;
end;
{$ENDIF}
end;