Small bug fix on Qt interface

git-svn-id: trunk@11363 -
This commit is contained in:
sekelsenmat 2007-06-24 05:48:58 +00:00
parent f50d168011
commit 5202b04808

View File

@ -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;
{------------------------------------------------------------------------------