mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 18:59:19 +02:00
Qt: Enable titlebar buttons (close,min,max) on modal windows under MacOsX
git-svn-id: trunk@16864 -
This commit is contained in:
parent
0e0ed50080
commit
a5bb936929
@ -195,6 +195,9 @@ begin
|
||||
QWidget_setParent(Widget.Widget, QApplication_activeWindow());
|
||||
QWidget_setWindowFlags(Widget.Widget, QtDialog);
|
||||
{$endif}
|
||||
{$ifdef darwin}
|
||||
QWidget_setWindowFlags(Widget.Widget, QtDialog or QtWindowSystemMenuHint or QtCustomizeWindowHint);
|
||||
{$endif}
|
||||
Widget.setWindowModality(QtApplicationModal);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user