mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	profile: use printMode flag directly in DiveCartesianAxis
The axis has a print-mode flag. There is no point in querying the widget. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									b2b24665e7
								
							
						
					
					
						commit
						1ddb55dcad
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -132,7 +132,7 @@ void emptyList(QList<T *> &list, int steps, int speed) | |||
| 
 | ||||
| void DiveCartesianAxis::updateTicks(color_index_t color) | ||||
| { | ||||
| 	if (!scene() || (!changed && !profileWidget->getPrintMode())) | ||||
| 	if (!scene() || (!changed && !printMode)) | ||||
| 		return; | ||||
| 	QLineF m = line(); | ||||
| 	// unused so far:
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue