summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-15 13:17:38 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-15 13:17:38 +0900
commit66f5f32f1137be435611c9a229ccf413fed55782 (patch)
tree80e20cc4ad9aa2e667906a17f77be8cb3e2aab3f /qt-ui/diveplanner.cpp
parentcec30c27d936a45d87e707363f824653949a5c02 (diff)
downloadsubsurface-66f5f32f1137be435611c9a229ccf413fed55782.tar.gz
Once again remove debug output.
Oops again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 0b5b3301e..7d3e19fc0 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -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