mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 02:20:30 +01:00
Qt5: fix build under mac os
This commit is contained in:
parent
e41c66e9f4
commit
8a67172c03
@ -7260,7 +7260,7 @@ begin
|
||||
|
||||
{$IFDEF DARWIN}
|
||||
if (csDesigning in LCLObject.ComponentState) or not IsMainForm then
|
||||
QMenuBar_setNativeMenuBar(QMenuBarH(MenuBar.Widget), False);
|
||||
QMenuBar_setNativeMenuBar(QMenuBarH(FMenuBar.Widget), False);
|
||||
{$ENDIF}
|
||||
FMenuBar.AttachEvents;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user