Commit bcb331e3 authored by Željan Rikalo's avatar Željan Rikalo 🏊🏼
Browse files

Qt: use direct X11 call for transient hint since Qt's QtTool flag is buggy. issue #29253

git-svn-id: trunk@51047 -
parent b7b8b626
......@@ -546,9 +546,9 @@ begin
APopupParent := TCustomForm(AWinControl).GetRealPopupParent;
if (APopupParent <> nil) then
begin
Flags := Widget.windowFlags;
Widget.setParent(TQtWidget(APopupParent.Handle).Widget);
Widget.setWindowFlags(Flags or QtTool);
{use direct X11 call instead of QtTool flag.issue #29253}
SetTransientForHint(Widget.Widget, TQtWidget(APopupParent.Handle).Widget);
end;
end;
{$ENDIF}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment