mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 15:47:18 +02:00
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:
parent
5fc3366377
commit
069fd42a33
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user