mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 00:11:51 +02:00
Small bug fix on Qt interface
git-svn-id: trunk@11363 -
This commit is contained in:
parent
f50d168011
commit
5202b04808
@ -2040,9 +2040,17 @@ begin
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Function: TQtMainWindow.GetContainerWidget
|
||||
Params: None
|
||||
Returns: Nothing
|
||||
|
||||
The main window has a special container widget to handle the size of the menu
|
||||
------------------------------------------------------------------------------}
|
||||
function TQtMainWindow.GetContainerWidget: QWidgetH;
|
||||
begin
|
||||
Result := CentralWidget;
|
||||
if CentralWidget <> nil then Result := CentralWidget
|
||||
else Result := Widget;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user