mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Minor code readability improvement
Tomaz pointed out that this is a better way to create that pair. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									f54849987e
								
							
						
					
					
						commit
						84680fdd5f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -305,7 +305,7 @@ void selectedDivesGasUsed(QVector<QPair<QString, int> > &gasUsedOrdered) | |||
| 			} | ||||
| 	} | ||||
| 	Q_FOREACH(gas, gasUsed.keys()) { | ||||
| 		gasUsedOrdered.append(QPair<QString, int>(gas, gasUsed[gas])); | ||||
| 		gasUsedOrdered.append(qMakePair(gas, gasUsed[gas])); | ||||
| 	} | ||||
| 	qSort(gasUsedOrdered.begin(), gasUsedOrdered.end(), lessThan); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue