mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 10:39:18 +02:00
Fixed compiling the Qt interface under Mac OS X.
git-svn-id: trunk@12295 -
This commit is contained in:
parent
00578d83f3
commit
58d1ed40c9
@ -3166,7 +3166,7 @@ begin
|
|||||||
Result := QMainWindow_create(nil, QtWindow);
|
Result := QMainWindow_create(nil, QtWindow);
|
||||||
|
|
||||||
{$ifdef darwin}
|
{$ifdef darwin}
|
||||||
if csDesigning in ComponentState then
|
if csDesigning in LCLObject.ComponentState then
|
||||||
MenuBar := TQtMenuBar.Create(nil)
|
MenuBar := TQtMenuBar.Create(nil)
|
||||||
else
|
else
|
||||||
MenuBar := TQtMenuBar.Create(Result);
|
MenuBar := TQtMenuBar.Create(Result);
|
||||||
|
Loading…
Reference in New Issue
Block a user