diff --git a/lcl/interfaces/qt/qtwsforms.pp b/lcl/interfaces/qt/qtwsforms.pp index c63058a1ca..af55490f18 100644 --- a/lcl/interfaces/qt/qtwsforms.pp +++ b/lcl/interfaces/qt/qtwsforms.pp @@ -169,10 +169,10 @@ begin end; 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 !} {$ifdef linux} - (TCustomForm(AWinControl).BorderStyle in [bsSizeToolWin, bsToolWindow]) and + not (TCustomForm(AWinControl).BorderStyle in [bsSizeToolWin, bsToolWindow]) and {$endif} (Application <> nil) and (Application.MainForm <> nil) and