Qt: do not set taskbar rules for mdichild forms.

git-svn-id: trunk@26445 -
This commit is contained in:
zeljko 2010-07-03 15:07:38 +00:00
parent 97298eab5c
commit ef1accc0b0

View File

@ -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;