Qt: apply nonmodal over modal rules only for X11, qt under windows needs another approach.

git-svn-id: trunk@35926 -
This commit is contained in:
zeljko 2012-03-13 11:21:13 +00:00
parent 5fc3366377
commit 069fd42a33

View File

@ -383,8 +383,7 @@ var
(AForm.PopupParent = nil) and (AForm.PopupMode = pmNone) then
begin
AWidget := TQtWidget(AForm.Handle).Widget;
{$IFDEF DARWIN}
{$ELSE}
{$IFDEF HASX11}
QWidget_setParent(AWidget, QApplication_desktop());
QWidget_setWindowModality(AWidget, QtWindowModal);
{$ENDIF}