summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2014-06-22 16:41:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-23 06:48:54 +0800
commit630ec88dd4a096fa39ad95b54a7dbfa760a212d9 (patch)
tree0a4cc6f336c92dc7ff2dee828aa88a45736f903e /qt-ui/models.cpp
parent21916d67de37fcca027fa392995c24084c954bc1 (diff)
downloadsubsurface-630ec88dd4a096fa39ad95b54a7dbfa760a212d9.tar.gz
Be more consistent in partial pressure naming
Lets just use pO₂ instead of PO2, ppO2, ppO₂, PO₂. They all mean the same, but it's better to be consistent Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 09b737179..167f54813 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -249,9 +249,9 @@ bool CylindersModel::setData(const QModelIndex &index, const QVariant &value, in
case O2:
if (CHANGED()) {
cyl->gasmix.o2 = string_to_fraction(vString.toUtf8().data());
- pressure_t modppO2;
- modppO2.mbar = 1600;
- cyl->depth = gas_mod(&cyl->gasmix, modppO2);
+ pressure_t modpO2;
+ modpO2.mbar = 1600;
+ cyl->depth = gas_mod(&cyl->gasmix, modpO2);
changed = true;
}
break;