mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-19 18:36:42 +01:00
Qt: do not set taskbar rules for mdichild forms.
git-svn-id: trunk@26445 -
This commit is contained in:
parent
97298eab5c
commit
ef1accc0b0
@ -329,7 +329,8 @@ begin
|
||||
(Application.MainForm <> AForm) then
|
||||
Enable := false;
|
||||
{$IFDEF HASX11}
|
||||
SetSkipX11Taskbar(TQtMainWindow(AForm.Handle).Widget, not Enable);
|
||||
if AForm.FormStyle <> fsMDIChild then
|
||||
SetSkipX11Taskbar(TQtMainWindow(AForm.Handle).Widget, not Enable);
|
||||
{$ENDIF}
|
||||
TQtMainWindow(AForm.Handle).setShowInTaskBar(Enable);
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user