mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Mobile: return location directly from DiveListModel
We don't want to generate a DiveObjectHelper numerous times for every item in the dive list. Therefore, return this datum directly from the model. In this case, don't remove from DiveObjectHelper, as this datum might be used by grantlee templates. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									4b389e267d
								
							
						
					
					
						commit
						c4831d7ace
					
				
					 3 changed files with 4 additions and 1 deletions
				
			
		|  | @ -147,7 +147,7 @@ Kirigami.ScrollablePage { | |||
| 					anchors.left: leftBarDive.right | ||||
| 					Controls.Label { | ||||
| 						id: locationText | ||||
| 						text: dive.location | ||||
| 						text: location | ||||
| 						font.weight: Font.Bold | ||||
| 						font.pointSize: subsurfaceTheme.regularPointSize | ||||
| 						elide: Text.ElideRight | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue