mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 23:00:27 +02:00
(Qt): Fix for toolwin by paul.
git-svn-id: trunk@11728 -
This commit is contained in:
parent
c3e56093e8
commit
d909764d09
@ -169,10 +169,10 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
if (TCustomForm(AWinControl).ShowInTaskBar in [stDefault, stNever]) and not
|
if (TCustomForm(AWinControl).ShowInTaskBar in [stDefault, stNever]) and not
|
||||||
(TCustomForm(AWinControl).FormStyle in [fsMDIChild]) and not
|
(TCustomForm(AWinControl).FormStyle in [fsMDIChild]) and
|
||||||
{QtTool have not minimize button !}
|
{QtTool have not minimize button !}
|
||||||
{$ifdef linux}
|
{$ifdef linux}
|
||||||
(TCustomForm(AWinControl).BorderStyle in [bsSizeToolWin, bsToolWindow]) and
|
not (TCustomForm(AWinControl).BorderStyle in [bsSizeToolWin, bsToolWindow]) and
|
||||||
{$endif}
|
{$endif}
|
||||||
(Application <> nil) and
|
(Application <> nil) and
|
||||||
(Application.MainForm <> nil) and
|
(Application.MainForm <> nil) and
|
||||||
|
Loading…
Reference in New Issue
Block a user