mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Once again remove debug output.
Oops again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									cec30c27d9
								
							
						
					
					
						commit
						66f5f32f11
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		|  | @ -1197,9 +1197,7 @@ int DivePlannerPointsModel::addStop(int milimeters, int minutes, int o2, int he, | |||
| 		} | ||||
| 	} | ||||
| 	if (o2 == -1) { | ||||
| 		qDebug() << "default Gas"; | ||||
| 		if (row > 0) { | ||||
| 			qDebug() << "from left"; | ||||
| 			o2 = divepoints.at(row - 1).o2; | ||||
| 			he = divepoints.at(row - 1).he; | ||||
| 		} else { | ||||
|  | @ -1208,11 +1206,9 @@ int DivePlannerPointsModel::addStop(int milimeters, int minutes, int o2, int he, | |||
| 			// first check to the right, then to the left, but if there's nothing,
 | ||||
| 			// we simply default to AIR
 | ||||
| 			if (row < divepoints.count()) { | ||||
| 				qDebug() << "from right"; | ||||
| 				o2 = divepoints.at(row).o2; | ||||
| 				he = divepoints.at(row).he; | ||||
| 			} else { | ||||
| 				qDebug() << "have to create tank of AIR" << row << divepoints.count(); | ||||
| 				o2 = O2_IN_AIR; | ||||
| 				if (!addGas(o2, 0)) | ||||
| 					qDebug("addGas failed"); // FIXME add error propagation
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue