mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 07:37:02 +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);
|
||||
|
||||
{$ifdef darwin}
|
||||
if csDesigning in ComponentState then
|
||||
if csDesigning in LCLObject.ComponentState then
|
||||
MenuBar := TQtMenuBar.Create(nil)
|
||||
else
|
||||
MenuBar := TQtMenuBar.Create(Result);
|
||||
|
Loading…
Reference in New Issue
Block a user