mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-10-26 16:22:04 +01: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
	 sekelsenmat
						sekelsenmat