mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 22:29:25 +02:00
qt: simplified code
git-svn-id: trunk@54586 -
This commit is contained in:
parent
7174c8b922
commit
2560efa563
@ -589,13 +589,8 @@ begin
|
||||
Widget.EndUpdate;
|
||||
|
||||
{$IFDEF HASX11}
|
||||
|
||||
// make qt interface snappy.
|
||||
if Assigned(Application) and not Application.Terminated then
|
||||
begin
|
||||
if AWinControl.HandleObjectShouldBeVisible then
|
||||
QCoreApplication_processEvents(QEventLoopAllEvents);
|
||||
end;
|
||||
if AWinControl.HandleObjectShouldBeVisible then
|
||||
QCoreApplication_processEvents(QEventLoopAllEvents);
|
||||
|
||||
if (Application.TaskBarBehavior = tbSingleButton) or
|
||||
(TForm(AWinControl).ShowInTaskBar <> stDefault) then
|
||||
|
Loading…
Reference in New Issue
Block a user